ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   documents.htpasswd
Date:   2002-03-22 04:42:11
From:   redleader
After creating everything exactly as directed in the article I ended up with an .htpasswd file named 'documents.htpasswd'


When I browse to http://127.0.0.1/ I get the message "Internal Server Error"


If I comment out the last lines in the .htaccess file, namely;


AuthName "Uber Goober Ad Campaign"
AuthType Basic
AuthUserFile /Library/WebServer/.htpasswd


require valid-user


it works as normal responding with "Gleefully Served by Mac OS X"


1 to 1 of 1
  1. Kevin Hemenway photo documents.htpasswd
    2002-03-29 14:08:47  Kevin Hemenway | O'Reilly AuthorO'Reilly Blogger [View]

1 to 1 of 1