Go Back   Garayed.com > Apache Configurations
Reply
 
LinkBack Thread Tools Search this Thread Display Modes

.htpasswd and .htaccess password problems
  #1 (permalink)  
Old 02-24-2006, 12:50 AM
jmroach
 
Posts: n/a
Default .htpasswd and .htaccess password problems

Ok, i have tried a ton of stuff, but can't seem to get password
protection working on a website.

here's what i have so far:

/Library/WebServer/Documents/web/.htaccess
---
AuthName "Login"
AuthType Basic
AuthUserFile /Library/WebServer/Documents/.htpasswd
AuthGroupfile /dev/null
require user friends
---

/Library/WebServer/Documents/.htpasswd
---
friends:MSg7LpjK8YMIg
---

httpd.conf
---
....
<Directory /Library/WebServer/Documents/web>
AllowOverride All
</Directory>
....
---

jmroach.conf (which is also being read for some reason when i start
apache)
---
<Directory "/Library/WebServer/Documents">
AllowOverride All
</Directory>

AccessFileName .htaccess
---

apachectl start yields:

Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/jmroach.conf

i have edited all .conf files there (and grep'd to make sure) with:
AllowOverride All

I get no popup window asking for a password at any point. I should get
one when i try to access webpages located in ".../web", right?

any help on this would be greatly appreciated as i'm frusterated as
hell!

thanks,

-john

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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



All times are GMT. The time now is 02:52 AM.


Powered by vBulletin® Version 3.5.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
| Home | FAQ | Members List | Calendar | Today's Posts | Search | New Posts |