I have the book Begining PHP5, Apache, MySQL Web Development and in chapter 12 there is an example of how to create a .htaccess file. I have tried to do it but keep getting this error message in my browser.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, firstname.lastname@example.org
and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
When i check my error log it says this
[Wed Mar 08 11:16:49 2006] [alert] [client 127.0.0.1] C:/Program Files/Apache Group/Apache2/htdocs/skatesite/admin/.htaccess: AuthUserFile takes 1-2 arguments, text file containing user IDs and passwords
I have a file in this directory "C:\Program Files\Apache Group\Apache2\bin" called userauth and this is where I point my .htaccess file to.
Here is my .htaccess file also.
AuthUserFile C:\Program Files\Apache Group\Apache2\bin\userauth
<LIMIT GET POST>
I hope somone can help. Thanks.