Re: [users@httpd] perl bypass apache basic authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 12/29/05 3:07 PM, "Joshua Slive" <joshua@xxxxxxxx> wrote:

> On 12/27/05, Faruk Okcu <farukokcu@xxxxxxxxx> wrote:
> <VirtualHost *:80>
>
> ServerAdmin webmaster@xxxxxxxxxxxx
>    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.

Give us a specific example on
> a live website that we can test.

Joshua.


And just to double-check, you did quit your browser and try again?  Your
browser will resend username and password automatically after you have
logged in once.

Sean



---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux