>
> >     AuthUserFile XXXXX_apache_authfile
>                   ^^^^^^^^^^^^^^^^^^^^^
> The AuthUserFile parameter s/b *full* path name
> >     Require ashish valid-user
> > </Directory>
>
> Let us know if it solves your problem
> HTH,
> --
>
I tried that first, I even tried placing the file in different locations.
Changing the permissions and ownership. It just doesn't seem to work.

Can someone using fedora10, try this and see if this issue occurs for them
upon accessing rhl4 directory.

#htpasswd -c /mount/repositories/av1984_apache_authfile ashish
*/*use password as password*/*

#cat /mount/repositories/av1984_apache_authfile

ashish:be2zFcJOdW7rQ
#ls -l /mount/repositories/av1984_apache_authfile

-rw-r--r-- 1 root root 21 2009-03-25 12:32
/mount/repositories/av1984_apache_authfile

#vi /mount/repositories/index.html

<html>
<body>
<a href=/fc10/>Fedora10 Repository</a>
<br>
<a href=/rhl4/>RHEL4 Repository</a>
</body>
</html>
#vi /etc/httpd/conf/httpd.conf

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /mount/repositories/
    ServerName yum.av1984.net
    Options Indexes FollowSymLinks
    ErrorLog logs/yum_log
    CustomLog logs/yum_log common

 <Directory /mount/repositories/>
    Options Indexes
    AllowOverride None
</Directory>

<Directory /mount/repositories/rhl4>
    Options Indexes FollowSymLinks
    AllowOverride None
    AuthType Basic
    AuthName "av1984_auth"
    AuthUserFile /mount/repositories/av1984_apache_authfile
    Require ashish valid-user
</Directory>

<Directory /mount/repositories/fc10>
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

</VirtualHost>

Regards,
Ashish
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to