LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache Question... (https://www.linuxquestions.org/questions/linux-software-2/apache-question-104926/)

Renaxgade 10-16-2003 08:40 PM

Apache Question...
 
Ok I was trying to set up a directory in which only I can access with my name and password. I have apache running on a windows xp machine, and the permissions for the directory im trying to make are only me (in windows permissions). I created a new user and pass with htpasswd. Now in my httpd.conf file my directory thing looks like this:
<Directory /root/ />
Options FollowSymLinks
AllowOverride AuthConfig
AuthType Basic
AuthName "Restricted Files"
AuthUserFile C:\Program Files\Apache Group\Apache2\bin\passwd.txt
Require user Joey
</Directory>

Now the folder I am trying to protect is under htdocs (the document root) \root\. So the full path is C:\Program Files\Apache Group\Apache2\htdocs\root\

The user i created with htpasswd is Joey. When I try to access the directory root I just get forbidden. Nothing else. No prompt. Am I doing anything wrong? :confused:

Renaxgade 10-17-2003 05:43 AM

(Bump) Can anyone help me with this one?

yapp 10-17-2003 06:42 AM

I'm sorry for asking, but why did you post this in a Linux board?:p

I would like to give advices like "tail -f /var/log/apache/error_log", but it's not that easy for us here :rolleyes: :p


All times are GMT -5. The time now is 02:39 PM.