Jump to content

htaccess help


hybrid kill3r

Recommended Posts

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 shl1288
This is .htpasswd:
shl1288:v6tzPRL8sbOsM
I don't know if this matters, but the dev directory is also a subdomain.
Link to comment
Share on other sites

  • 2 weeks later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...