Results 1 to 6 of 6

Thread: .Htaccess

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    23

    .Htaccess

    I have the following set up in a .htaccess file running on an apache server:

    AuthUserFile /passwords/.htpasswd
    AuthGroupFile /dev/null
    AuthName Admin
    AuthType Basic

    <Limit GET>
    require user Admin
    </Limit>

    With the .htpasswd file in C:/Perl/web site/passwords/.htpasswd, but when ever i try to access the directory the username Admin, and the password set up with it doesnt work. Has anyone got any clue as to why?

    Thanks
    Sythe
    Sythe

  2. #2
    scoutt
    Guest
    As far as I know that the .htpasswd goes into the same place as .htaccess does. I am not sure of your paths but for example,,

    /usr/www/web/mysite.com/.htpasswd

    mine on windows version of apache would be

    /Program Files/Apache Group/Apache/htdocs/mysite

    it should be iun the default path of apache for your localhost address

    does that help?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    Thanks for the reply, i am now unable to test this because the Htpasswd.exe i was using was a fake
    So could anyone please tell me where i can get myself a copy of the compiled Htpasswd.exe, or tell me how to compile it.

    Someone told me i should already have a compiled version in my Apache\bin file, but i dont even have this file

    Thanks again
    Sythe,
    P.S im running apace on a windows system
    Sythe

  4. #4
    scoutt
    Guest
    what version do you have. I have a copy I can email you. I don't know if the version matter or anything. plus i don't know if it makes a difference as to what type of windows you are using. I have win98 with version 1.3.20 win32 version.

    we could try it though, so let me know

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2001
    Posts
    23
    I have exactly the same, could you please e-mail it to [email protected]
    Thanks a lot!
    Sythe
    Sythe

  6. #6
    scoutt
    Guest
    ok I sent it, good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width