Bluehost.com Web Hosting $6.95

.htaccess .htpasswd no user\pwd request - AllowOverride set to all

This is a discussion on .htaccess .htpasswd no user\pwd request - AllowOverride set to all within the Apache Web Server forums, part of the Web Server and Related Forums category; Can anyone please save me from spending another 5 hours trying to work this out?! I'm not getting a ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-09-2005
Mike
 
Posts: n/a
Default .htaccess .htpasswd no user\pwd request - AllowOverride set to all

Can anyone please save me from spending another 5 hours trying to work
this out?!

I'm not getting a username & passwd request when trying to access pages
that *should* be protected by .htaccess and .htpasswd. The 2 files
contain :

cat .htaccess
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /home/mike/.htpasswd
Require user mike

cat /home/mike/.htpasswd
mike:VuCSDFj0hUb5M

I've set :
AllowOverride all
in httpd.conf

I've been trying to access pages in this folder from a windows box, so
have been closing the browser & clearing the cache on the windows
machine every time the config has changed, and have been restarting the
httpd service every time for good measure. I've also traced with
Etheral & verified there's no cacheing going on & that the pages are
coming from the Apache box. I've chmodded 777 both .htaccess &
..htpasswd in case there's a permissions problem- I know that's a really
bad thing to do but am just trying to prove what is happening.

Any advice \ suggestions would be gratefully received!

Cheers,

Mike.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0