The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost 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.
A question for this htaccess, is it possible to only get this part working for the index.php file and not for other dir in the www folder? I tried this and put both files in the www folder and its working for the index but I don't won't this to have any affect on my other folders in the www dir.
Any suggestion to solve this?
EDIT: What I understand when I have read more its not possible to add in just for the index as all other dir also will be protected. I think I can solve this to create a login via php and rename the index to other name.
Regards/Per
Edited 1 time(s). Last edit at 03/19/2008 11:13PM by psn.
Or you can setup Virtual Hosts and use different name instead localhost and put your www in the last VH, so when users access your site by ip, they will go to the first vh or not found if trying localhost
I have a correct .htaccess, the path to my .htpasswd is correct, and i have valid user:pass combo, as generated at [tools.dynamicdrive.com] using the .htpasswd password generator
However I keep getting user:password mismatch showing in the error log, so I bounced this to my proper website, and it works fine, so there is something wrong with the wampserver interpretation of .htpasswd?
He he.... he he... ;-) I knew that standard user and pass will always work on Windows, but if you want to use encryption in Windows, use MD5. I hope I make it clear this time ;-)
Anyone know the .htaccess configuration to prevent entry, but not password protect. Every example I can find has to do with password protecting, but I want to create an area that will not allow people to access it with something like [www.mysite.com].