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: |
(Bump) Can anyone help me with this one?
|
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 11:03 PM. |