Jump to content

My htaccess file isn't being used


optikalefx

Recommended Posts

I've installed many linux servers, but this server, is making me feel like an idiot.  Its running a LAMP stack on a ubuntu 10 box.  I have ssh access to root.

 

the document root is /var/www and that works fine

i have a .htaccess file inside of /var/ww that has some jibberish.  I SHOULD be getting an internal server error.  When i paste this into my localhost i get that server error, but not on this server.  I also tried a correct htaccess file, but it doesn't work either. So my hunch is that apache is not using the htaccess file.

 

In my apache2.conf file

 

AccessFileName .htaccess

 

is set, and i've restarted apache.

I have no idea what is going on, never had this happen before.  Any ideas? thanks!

Link to comment
https://forums.phpfreaks.com/topic/214588-my-htaccess-file-isnt-being-used/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.