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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.