Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Not sure where is my "AuthUserFile" full path |
|
Author |
|
tech6
Joined: 04 Oct 2011 Posts: 2 Location: Japan
|
Posted: Tue 04 Oct '11 5:08 Post subject: Not sure where is my "AuthUserFile" full path |
|
|
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
|
Posted: Tue 04 Oct '11 5:27 Post subject: |
|
|
AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/.htpasswd" |
|
Back to top |
|
tech6
Joined: 04 Oct 2011 Posts: 2 Location: Japan
|
Posted: Tue 04 Oct '11 7:14 Post subject: Work |
|
|
like a charm. Thank you. |
|
Back to top |
|
|
|
|
|
|