If you do change the AccessFileName to something else, make sure you update
another place in the httpd.conf to not show the filename if someone were to
access the directory directly. Under a certain httpd.conf rule (as seen
below), .ht-based file names are excluded from being shown.
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
-- M
-----Original Message-----
From: flalug@nks.net [mailto:flalug@nks.net]On Behalf Of Mike Fisher
Sent: Saturday, March 20, 2004 7:04 PM
To: flalug@nks.net
Subject: Re: [flalug] Apache question
Smitty wrote:
>Does an htaccess file need to be a dotted file?
>For example, .htaccess
>I am not certain if Apache will parse it if the name format is not exact.
>
>
I've never tried it personally, but you should be able to change it via
the AccessFileName directive in httpd.conf.
#
# AccessFileName: The name of the file to look for in each directory
# for access control information. See also the AllowOverride directive.
#
AccessFileName .htaccess
Mike
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:18:49 EDT