hybrid kill3r Posted May 28, 2008 Share Posted May 28, 2008 I'm new to htaccess and I'm trying to password protect my development directory(dev). I've uploaded the .htaccess and .htpasswd files to the dev directory, but when I try to visit a page in it, I get a 500 Internal Server Error page. This is my .htaccess file: AuthUserFile /home/unholy/public_html/dev/.htpasswdAuthGroupFile /dev/nullAuthName Restricted AccessAuthType Basicrequire user shl1288This is .htpasswd:shl1288:v6tzPRL8sbOsMI don't know if this matters, but the dev directory is also a subdomain. Link to comment Share on other sites More sharing options...
hybrid kill3r Posted June 3, 2008 Author Share Posted June 3, 2008 bump Link to comment Share on other sites More sharing options...
redwall_hp Posted June 18, 2008 Share Posted June 18, 2008 .htaccess files causes no end of trouble. Totally useful though. :)Did you do this by hand, or did you use a generator, like the one here: http://tools.dynamicdrive.com/password/ ? Link to comment Share on other sites More sharing options...
boen_robot Posted June 18, 2008 Share Posted June 18, 2008 I think when you have a UserFile, you shouldn't have a GroupFile.You might want to read this apache article if you're interesting in learning the details as to why this doesn't work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.