Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess issue 1

Status
Not open for further replies.
Apr 11, 2002
144
US
I have a RH 7.1 webserver that I needed to upgrade various packages on. Instead of updating the box, I built a new box with RH 8.0 with all the packages necessary: apache, mysql, php, etc;. I then copied all the old web data from the RH 7.1 drive to the new RH 8 drive. After some initial tweaking I have got everything to work, httpd, mysqld and php. The only thing giving me real problems is password protection of web directories by .htaccess/.htpasswd. On the old box it worked fine. The new box never asks for a password. I've checked and rechecked the httpd.conf. Both .htaccess and .htpasswd are 644. I've stopped and restarted httpd several times.

Any ideas?


>Think for yourself<
...or someone else will do it for you.
 
Make sure AllowOverride isn't disabled in httpd.conf.

I was trying to change Indexes and a couple other things with .htaccess and found out that no overrides were allowed.

D
 
That was it.
Thanks!

I changed it from:
&quot;AllowOverride None&quot;
to
&quot;AllowOverride All&quot;


>Think for yourself<
...or someone else will do it for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top