[thelist] [fwd] Apache Problem - .shtml below root

deke web at master.gen.in.us
Thu May 24 07:50:39 CDT 2001

On 23 May 2001, at 21:25, Chris Darrell Johnston posted a message which said:

> I also have another dumb question. Under windows you can not create a file
> that is just an extension (i.e. .htaccess) I am assuming that you can give
> the file whatever name you want as long is ends in .htaccess? (Just making
> sure, don't kick me off the list for asking the obvious, please)

Actually, you *can* create a file named ".htaccess" in Windows.

But if you don't want to use .htaccess, you can edit your httpd.conf
file so that you use something.htaccess by changing
    AccessFileName .htaccess
    AccessFileName something.htaccess
or you can change it to 
   AccessFileName foo.bar
or almost any other fixed file name. 

I don't think wildcards are acceptable, because you don't want
the httpd trying to decide which access file it should pay 
attention to.


 "The church is near but the road is icy; 
  the bar is far away but I will walk carefully." 
                            -- Russian Proverb

More information about the thelist mailing list