AccessFileName setting irgnored by s9y
Posted: Sat Dec 30, 2006 5:22 am
s9y oviously ignores the
setting in apache2-config and assumes it set to .htaccess constantly.
Background: for security or compatibility issues you may want to move away from files nameed .htaccess to files named whatever lets say .xyz.
as for compatibility issues there is an easy workaround by just linking
you may nevertheless wish to prevent that link if you chose to use the AccessFileName Directive for security reasons.
As it should not be too hard to read the AccessFileName setting of the apache2.conf File from php, one might want to change the very code to use the setting made by the siteadmin instead of constantly writing to .htaccess (which is probably not used according to what was mentioned above. (e.g. in line 57 of /include/admin/configuration.inc.php)
Code: Select all
AccessFileName .xyz
Background: for security or compatibility issues you may want to move away from files nameed .htaccess to files named whatever lets say .xyz.
as for compatibility issues there is an easy workaround by just linking
Code: Select all
ln -s .xyz .htaccessAs it should not be too hard to read the AccessFileName setting of the apache2.conf File from php, one might want to change the very code to use the setting made by the siteadmin instead of constantly writing to .htaccess (which is probably not used according to what was mentioned above. (e.g. in line 57 of /include/admin/configuration.inc.php)