Hi guys,

My httpd version is:

# rpm -qa| grep httpd
httpd-manual-2.0.54-10.2
httpd-2.0.54-10.2

Basic auth works great if the web client is IE,
Firefox, etc but when the pages, protected by basic
auth, can be printed by a simple perl script. I am not
sure if this is expected or not.

Basic auth is configured in httpd.conf as follows
(there is no .htaccess file)

#################### begin ####################
<VirtualHost *:80>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /usr/share/awstats/wwwroot
    ServerName awstats.mydomain.com
    ErrorLog logs/error_log
    CustomLog logs/access_log combined

<Directory "/usr/share/awstats/wwwroot">
 AuthType Basic
 AuthName "Operator Login"
 AuthUserFile /var/www/passwd/passwords
 Require valid-user
</Directory>

</VirtualHost>
#################### end #####################

With a perl script using LWP::UserAgent, the response
of get(url) function just prints the basic auth
protected web page without suppling username and
password.

Please advice.

Regards.


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to