Authentification

This is a discussion on Authentification within the Apache Web Server forums, part of the Web Server and Related Forums category; Ok This is what i have so far: I have made a password file using htpasswd. I used -c access ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-18-2003
Renegade
 
Posts: n/a
Default Authentification

Ok This is what i have so far:
I have made a password file using htpasswd. I used -c access Joey for
the command. Entered the password and it was created. In the httpd.conf,
I have this:
<Directory "C:/Program Files/Apache Group/Apache2/htdocs/root/">
Options FollowSymLinks
AllowOverride AuthConfig
AuthType Basic
AuthName "Restricted Files"
AuthUserFile "C:/Program Files/Apache Group/Apache2/bin/access"
Require user Joey
</Directory>

SO what I'm trying to do is password protect root folder. So far it
works, when i try to access that directory I get a password prompt. I
enter Joey and my password. It gives me the browser error message
forbidden, and the error log file says:
[Fri Oct 17 21:58:41 2003] [error] [client 192.168.1.1] Directory index
forbidden by rule: C:/Program Files/Apache Group/Apache2/htdocs/root/

Is this because of a Windows Permission? Everyone is allowed to view it
in the windows security, but Im not sure if that has anything to do with
it. Can anyone suggest anything or tell me what Im doing wrong? Thanks.

  #2 (permalink)  
Old 10-18-2003
armin walland
 
Posts: n/a
Default Re: Authentification

Renegade <renaxgade@nospam.com> wrote:
> Ok This is what i have so far:
> I have made a password file using htpasswd. I used -c access Joey for
> the command. Entered the password and it was created. In the httpd.conf,
> I have this:
><Directory "C:/Program Files/Apache Group/Apache2/htdocs/root/">
> Options FollowSymLinks
> AllowOverride AuthConfig
> AuthType Basic
> AuthName "Restricted Files"
> AuthUserFile "C:/Program Files/Apache Group/Apache2/bin/access"
> Require user Joey
></Directory>
>
> SO what I'm trying to do is password protect root folder. So far it
> works, when i try to access that directory I get a password prompt. I
> enter Joey and my password. It gives me the browser error message
> forbidden, and the error log file says:
> [Fri Oct 17 21:58:41 2003] [error] [client 192.168.1.1] Directory index
> forbidden by rule: C:/Program Files/Apache Group/Apache2/htdocs/root/



is there an index.html file in the root/ dir?


--

my life, my universe, my everything
http://www.dtch.org

  #3 (permalink)  
Old 10-18-2003
Renegade
 
Posts: n/a
Default Re: Authentification

armin walland wrote:
> Renegade <renaxgade@nospam.com> wrote:
>
>>Ok This is what i have so far:
>>I have made a password file using htpasswd. I used -c access Joey for
>>the command. Entered the password and it was created. In the httpd.conf,
>>I have this:
>><Directory "C:/Program Files/Apache Group/Apache2/htdocs/root/">
>> Options FollowSymLinks
>> AllowOverride AuthConfig
>> AuthType Basic
>>AuthName "Restricted Files"
>>AuthUserFile "C:/Program Files/Apache Group/Apache2/bin/access"
>>Require user Joey
>></Directory>
>>
>>SO what I'm trying to do is password protect root folder. So far it
>>works, when i try to access that directory I get a password prompt. I
>>enter Joey and my password. It gives me the browser error message
>>forbidden, and the error log file says:
>>[Fri Oct 17 21:58:41 2003] [error] [client 192.168.1.1] Directory index
>>forbidden by rule: C:/Program Files/Apache Group/Apache2/htdocs/root/

>
>
>
> is there an index.html file in the root/ dir?
>
>

Nope but there is two more direcrtorys.

  #4 (permalink)  
Old 10-22-2003
Alvaro G Vicario
 
Posts: n/a
Default Re: Authentification

Renegade wrote:
>> is there an index.html file in the root/ dir?
>>

> Nope but there is two more direcrtorys.


"Directory index forbidden by rule" probably means that you're requesting
a directory and Apache is not allowed to list its contents. You should
either allow listing (check "AllowOverride Indexes" and "Options
Indexes") or request a file.


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0