GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-Jan-2007, 12:41
zoolander zoolander is offline
New Member
 
Join Date: Jan 2007
Posts: 2
zoolander is on a distinguished road

htaccess basic authentication just stops working


I'm using Apache Basic Authentication (htaccess) to protect a subdirectory within my website. I can't figure out why, but occasionally (every couple of weeks), the authentication seems to just stop working. I manage the server myself, so I know there are no server side changes. I can't figure it out.

In order to isolate the problem, I turned off AllowOverride:
AllowOverride None

So, rather than using .htaccess file in the directory, I moved all of my directives into the main /etc/httpd/conf.d/site.conf file:

<Directory /var/www/sites/steamers/admin>
AuthName "Admin Console"
AuthType Basic
AuthUserFile /var/www/htpasswd/steamers.htpasswd
require valid-user
</Directory>

There is only one user in the steamers.htpasswd file. For a while, it will be working just fine, and then for some unknown reason, it will just stop authenticating. The authentication window still comes up, but the user and password stop working. I can change the password at the command line and reload apache, but it still doesn't work.

The even weirder thing is that if I go into the /etc/httpd/conf.d/site.conf file, comment out the entire section that I listed above, and restart apache attempting to disable authentication altogether, the authentication window still comes up. I can't even disable authentication.

This is killing me right now. Any ideas would be greatly appreciated.
 
 

Recent GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] New script engine: Open Basic (Basic syntax) MKTMK Computer Programming Advertisements & Offers 0 01-Sep-2005 06:13

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 11:29.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.