Gossamer Forum
Home : General : Perl Programming :

Can't get .htaccess to work on Raq4.

Quote Reply
Can't get .htaccess to work on Raq4.
I am trying to password protect a directory using .htaccess, but it seems like my server is not recognizing the .htaccess file, instead bypassing it to yield folder contents. Is there something I need to do (perhaps in my Apache config) to ensure that .htaccess is recognized? If it matters any, I am on a Raq4 and have used .htaccess on the same server before.

Quote Reply
Re: Can't get .htaccess to work on Raq4. In reply to
Make sure you have the AllowOverride option set for the directory in question to allow htaccess.

AllowOverride AuthConfig FileInfo Limit

should give you all you need.

-g


s/(\d{2})/chr($1)/ge + print if $_ = '8284703280698276687967';
Quote Reply
Re: Can't get .htaccess to work on Raq4. In reply to
Thanks... I just checked my access.conf file and have the following:

AllowOverride AuthConfig Indexes Limit

Shouldn't this work? I have compared my access.conf and access.conf.master files to the same ones on my other Raq4 and they are identical. Perhaps there is an httpd.conf setting I am missing?

Quote Reply
Re: Can't get .htaccess to work on Raq4. In reply to
aHA! Got it working. I had to restart the server :)