.htaccess not working [solved]
Archived from the Xataface Users forum.
Jusmee — Mon Jun 28, 2010 1:03 am
I think this is an apache issue, but I have a .htaccess file with
- Code: Select all
<FilesMatch "\.ini$"> Deny from all </FilesMatch>
in it. However, I can still browse to my conf.ini contents. Can anyone quickly explain to me how to tell Apache to obey the .htaccess file?
If it helps, My mySQL database and Apache server are on my mythtv server. As I had that machine built and turned on all the time, and it already had mySQL, Apache, and php already installed, I just added my database to it, and put xataface there as well.
cantlep — Mon Jun 28, 2010 2:10 am
Hi,
You’ll need to have “AllowOverride” option set in your httpd.conf (within the
- Code: Select all
<Directory "/var/www/html/yoursite"> AllowOverride All </Directory>
Once it’s in and you reload the config, .htaccess will be honoured.
Rgds
Paul
Jusmee — Tue Jun 29, 2010 12:43 am
Thanks you, that works well!