To password prtotect one page of a website
Posted by: bene (---.hsd1.ca.comcast.net)
Date: November 26, 2010 09:42PM

Sorry I posted this under config.inc tile. Need help to have a login requirement for one page of my website.
tanx

Options: ReplyQuote
Re: To password prtotect one page of a website
Posted by: spyderweb (41.190.2.---)
Date: November 27, 2010 08:23PM

I got to learn about .htaccess web directory lately and i like te concept so much. Now, I decided to put it into use. My code well written taken into consideration all typo.
The code is a follows:

AuthName "Just Me"
AuthUserFile c:/wamp/www/psw/.htpasswd
AuthType Basic
<Limit GET POST>
Require valid-user
</Limit>

my .htpasswd content is like this:
spyderweb:ULKG.4Oof/yIM
The password encrypted as required. But, whenever I want to run, the browser prompts for the authentications quite well, but after then, I will receive this error:

Internal Server Error

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

Please contact the server administrator, webmaster@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.

I've tried a lot of solutions I can get online, but they seems not to be substantial enough to take care of my problem.I'm really stucked here, I damn in need of good solutions.

I've enabled rewrite_module on mu apache as suggeted on one forum!

***Please help me *** I will appreciate whoever cares to help!
Thanks

Options: ReplyQuote
Re: To password prtotect one page of a website
Posted by: yfastud (Moderator)
Date: November 30, 2010 12:58AM

Use either plain text or md5

To setup .htaccess/.htpasswd, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.