Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-06-2009, 06:00 AM   #1
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 200

Rep: Reputation: 31
execute a webtest with basic http authentication using perl's http::webtest

i would like to execute webtest via nagios in a webpage that uses http authentication: it's a pop-up that appears when trying to access a web. I set the authentication in httpd.conf

i am using the perl module http::webtest but i can't seem to find out how i can test the page with the authentication and all.

thank you in advance for your help.
kind regards

Mario G.
Old 04-07-2009, 03:05 AM   #2
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 200

Original Poster
Rep: Reputation: 31
apparently the solution, work around is to put the username and password in the url to check like this: this way wt can webtest a page which uses weak http authentication.

hope it can help somebody.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Configure HTTP basic authentication with Rational LXer Syndicated Linux News 0 02-29-2008 09:00 PM
setting up basic http server jeffm2792 Linux - Server 18 10-04-2007 10:53 PM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 04:48 PM
mod_rewrite *and* http authentication belorion Linux - General 0 01-20-2005 05:05 PM
HTTP AUTHENTICATION with PHP lemotion Programming 1 04-22-2004 03:08 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration