A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-March/071775.html below:

[Python-Dev] splitext('.cshrc')

[Python-Dev] splitext('.cshrc')Patrick Maupin pmaupin at gmail.com
Fri Mar 9 16:21:34 CET 2007
On 3/8/07, Tony Nelson <tonynelson at georgeanelson.com> wrote:
> At 2:16 PM -0500 3/8/07, Phillip J. Eby wrote:
> >The code in question was a type association handler that looked up loader
> >functions based on file extension.  This was specifically convenient for
> >recognizing the difference between .htaccess files and other dotfiles that
> >might appear in a web directory tree -- e.g. .htpasswd.  The proposed
> >change of splitext() would break that determination, because .htpasswd and
> >.htaccess would both be considered files with empty extensions, and would
> >be handled by the "empty extension" handler.
>
> So, ".htaccess" and "foo.htaccess" should be treated the same way?  Is that
> what Apache does?

I've never personally used "foo.htaccess", but I have had files named,
e.g. "test1.htaccess", or "backup.htaccess".  And I don't know, but I
assume a "foo.htaccess" would be an older or test version of a
.htaccess file.  So, my usecases say, "yes, they should be treated the
same."

Regards,
Pat
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4