Web Hosting Talk







View Full Version : htaccess ignored


Christopher
01-13-2002, 01:18 AM
hmmm, went to access.conf and edited with pico to:

-----------------
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"

AllowOverride All
----------------

then put .htaccess file into /home/sites/site#/web/

and the .htaccess is ignored.

What am I overlooking here? Does something have to be edited in httpd.conf?

Thanks,

Chris

ffeingol
01-13-2002, 01:46 AM
Sorry, but I have to ask the obvious one.

Did you stop/start Apache after the config change?

Frank

Christopher
01-13-2002, 01:52 AM
Its the obvious things that are easy for me to miss, so I don't mind, but yes, I did stop and start httpd after making the changes in access.conf - and just did it again to make extra sure - and the .htaccess file is still being ignored,

Chris

Christopher
01-13-2002, 11:06 AM
hmm, came back this morning to tackle this with a fresh brain and..... it's working.

I didn't do anything to it. The .htaccess I have in there is just a 404 redirect, and I was testing with nonsense random filenames so that it would not be in my cache. Last night I would get a 404 'page can't be found' message, this morning it redirects to the page I wanted it to.

Boy, wish all my problems would be resolved magically overnight :D

Chris