Link to home
Start Free TrialLog in
Avatar of starview
starview

asked on

username and passwording a webpage

I have tried the following and can not seem to get the website passord and username to work.
I am doing the following:

In my .htaccess file I have the following:
AuthUserFile /myarea/files/password/.htpasswd
AuthGroupFile /dev/null
AuthName "Secure Document"
AuthType Basic

<Limit GET>
Satisfy any
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from 0.0.0.0
require valid-user
</Limit>

I keep getting and error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@guestofmany.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


If I change the "Allow from 0.0.0.0" to my ips then it will go into the website, but that is not what I want.
I want it to as for a username and passord for a login no matter if it is from me or anyone else.

and I am not sure if it a different isp went to the site if it would let them in or not.

I have nothing in the website now that I have to secure at the moment

http:\\www.guesttomany.com

The password: MyPlace3#!+
 and usersname is: topkick2u

I have only a test html file on the website
SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of starview
starview

ASKER

captain,Thank you, that safed alot of work, I was able to do it in the control panel

giltjr, thank you for your help also
I am glad that worked. Thanks for the accept. :)

capt.