Hi
Ok, I am trying to make a member’s area on my website, using .htaccess file and a .htpasswd file…. I am hosted with 123-reg, but they don’t seem to have a CLUE how to sort out my problem….
Basically, I have made the files, troubleshooted EVERY aspect of every line of everyfile, I’ve made sure the permissions are correct, basically everything that I can think of is sorted. However, when I go onto the page that i am trying to protect, I get this error message:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@123-reg.co.uk 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.
——————————————————————————–
Apache Server at www.kyds.org.uk Port 80"
And it is driving me completly INSANE!!!!!!!
If anybody can offer any advice (preferably somebody who knows what they are doing!!!) I would be really, really grateful!!
Thanks!
Content of .htaccess file (located in directory I want to protect)
AuthUserFile/public_html/.htpasswd
AuthGroupFile /dev/null
AuthName secure
AuthType Basic
require user mickeymouse
order allow,deny
allow from all
Content of .htpasswd file
mickeymouse:Zm4YIMLOCjYto
Cannot use PHP as the server does not support it, which I found out AFTER paying !!!!
Thanks for responses so far, will look on the tips and tricks websites…
Oh and permissions are RWXR-XR-X
Try this: http://corz.org/serv/tricks/
And an .htaccess ‘generator’ here: http://corz.org/serv/tricks/htaccesser/index.php
As an afterthought, have you thought about using a log in script such as php my log in? It’s available free if you google it, and basically you enter a bit of php code to the top of pages you want password protected.
Technorati Tags: 123 Reg, 80 Quot, Administrator Support, Afterthought, Apache Server, Clue, Error Message, google, Grateful Thanks, Htaccess File, Htaccess Generator, Htaccess Htpasswd, Internal Error, Internal Server Error, Kyds, Port 80, Server Administrator, Server Error Log, Tips And Tricks