Sponsor Advertisement
Link Directory
Want Exposure? Looking for one way Backlinks? Get Text Link Advertising for $1.00.
Link Directory
Want Exposure? Looking for one way Backlinks? Get Text Link Advertising for $1.00.

help with .htpasswd authentication /apache on windows xp ?


Post new topic   Reply to topic  Invision-Graphics Forum Index –» Programming –» Print Topic
View previous topic –» View next topic
Level 1 User

krazykate
Level 1 User
Occupation:


Offline
Joined: Mar 27, 2006
Find all post by krazykate
Total Posts: 1
0.00 posts per day
Total Words: 0
PostPosted: Wed Oct 29, 2008 10:44 am  Post subject: help with .htpasswd authentication /apache on windows xp ?
hi...i am having a problem trying to protect a folder with an .htaccess file and an .htpasswd ...now the same folder has the both files , this is the .htaccess :AuthUserFile /c/wamp/www/php/.htpasswdAuthGroupFile /dev/nullAuthName "My Private Directory"AuthType Basicrequire valid-userthis is the .htpasswd :username1:123username2:342now when i call that folder from the browser the password window pops up..but an internal server error will be encountered if i entered a username and a password and pressed ok...so please if you have a good explaining on how to fix this problem, i think its something with the configuration but dont know how to fix it ...thanks alot.hi...thanks but i dont think this is the reason....i forgot to say that i added the following lines to the httpd file in the configuration folder :AllowOverride AllOptions NoneOrder deny,allownow when i enter the wrong username/pass it pops up the window again..when i enter the correct info(which is stored in the .htpasswd) it says you are not authorized to view this folder ...i think the problem is simpler than what you provided...so if you still can help ...your help is appreciated alot.thanks.
Reply with quote
View user's profile Send private message
Back to top
Sponsor Advertising
Level 1 User

leafer
Level 1 User
Occupation:


Offline
Joined: Jun 16, 2007
Find all post by leafer
Total Posts: 2
0.00 posts per day
Total Words: 0
PostPosted: Wed Oct 29, 2008 11:12 am  Post subject: help with .htpasswd authentication /apache on windows xp ?
The internal server error is probably coming from the protected path, not from the authorization, which is already (or should be) complete by the time it occurs. Are you serving the output of a script. Does that script generate a proper HTTP header? (On a UNIX/Linux system, I'd ask if it had compatible file permissions, but on Windows, that concept is a lot more primitive.)
Reply with quote
View user's profile Send private message
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Invision-Graphics Forum Index -> Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
 


Click Here to Advertise
Affordable Hosting! http://www.invision-graphics.com/images/banners/468X60_VISIONHOSTING.gif
 Today: 25,348  Yesterday: 28,992  Total Hits: 35,517,629
Page Rendered in: 0.14s - Total Queries: 9 - MySQL DB: 26.1 mb's - Pages served in past 5 minutes: 159