[Ilugc] httpd auth

  • From: ashishverma1984@xxxxxxxxx (Ashish Verma)
  • Date: Thu Mar 26 10:12:33 2009


Please share the relevant portion of your httpd.conf.  Always ready to
learn something new :)




<VirtualHost *:80>
    ServerAdmin ashish@xxxxxxxxx
    DocumentRoot /mount/repositories/
    ServerName yum.bbtsm.net
    Options Indexes FollowSymLinks
    ErrorLog logs/yum_log
    CustomLog logs/yum_log common

# This Directory context will cause password prompt without having
distributed .htaccess
# files. This will also cause faster responses as Apache will not have to
recursively lookup
# for .htaccess files in the directory hirearchy which in this case is 3
directories up or 3
#extra lookups.
*<Directory /mount/repositories/rhl4>
*    Options Indexes FollowSymLinks
    AllowOverride None
    AuthType Basic
    AuthName "bbtsm_auth"
    AuthUserFile bbtsm_apache_authfile
    Require ashish valid-user
</Directory>

</VirtualHost>
Regards,
Ashish

Other related posts: