logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Not sure where is my "AuthUserFile" full path
Author
tech6



Joined: 04 Oct 2011
Posts: 2
Location: Japan

PostPosted: Tue 04 Oct '11 5:08    Post subject: Not sure where is my "AuthUserFile" full path Reply with quote

I would like to password proctect a particular folder on my Home Web Server. However, I am not sure where is my "AuthUserFile" full path or relative path.

===
Server Running
Windows XP SP2
Apache 2.2
PHP 5.38

Folder I want to password proctected
D:\MySite\pri\

.htaccess location
D:\MySite\pri\.htaccess

AuthUserFile / .htpasswd
AuthType Basic
AuthName "Login Area"
Require valid-user

.htpasswd location
C:\Program Files\Apache Software Foundation\Apache2.2\.htpasswd location

user:abCdeFsghIjk

htdocs location
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs

httpd.conf location
C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
===

Thank in advance.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 04 Oct '11 5:27    Post subject: Reply with quote

AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/.htpasswd"
Back to top
tech6



Joined: 04 Oct 2011
Posts: 2
Location: Japan

PostPosted: Tue 04 Oct '11 7:14    Post subject: Work Reply with quote

like a charm. Thank you.
Back to top


Reply to topic   Topic: Not sure where is my "AuthUserFile" full path View previous topic :: View next topic
Post new topic   Forum Index -> Apache