Jump to content

renaxgade

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by renaxgade

  1. Ok i Got that part working, it now prompts me for a user name and password. But it gives me invalid password. I am 100% sure that is the name and password I created with htpasswd and i even tried creating another one. In the logs it says

    [Fri Oct 17 15:53:05 2003] [error] [client 192.168.1.100] (OS 2)The system cannot find the file specified. : Could not open password file: C:/Program Files/Apache Group/Apache2/bin/password.exe

    [Fri Oct 17 15:53:05 2003] [error] [client 192.168.1.100] user Renaxgade not found: /root/

     

    Even though Im sure the password file is there. Should I make it .txt? The httpd.conf file looks like...

     

    <Directory \"C:/Program Files/Apache Group/Apache2/htdocs/root\">

    Options FollowSymLinks

    AllowOverride AuthConfig

    AuthType Basic

    AuthName \"Restricted Files\"

    AuthUserFile \"C:Program FilesApache GroupApache2binpassword.exe\"

    Require user Renaxgade

     

    There definetly is a file in bin callled password.exe that I created with htpassword.

  2. 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). 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 FilesApache GroupApache2binpasswd.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 FilesApache GroupApache2htdocsroot

     

    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? :shock:

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.