LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-06-2009, 05:00 AM   #1
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 192

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


hello
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, 02:05 AM   #2
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 192

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

hope it can help somebody.
 
  


Reply


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 08:00 PM
setting up basic http server jeffm2792 Linux - Server 18 10-04-2007 09:53 PM
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 03:48 PM
mod_rewrite *and* http authentication belorion Linux - General 0 01-20-2005 04:05 PM
HTTP AUTHENTICATION with PHP lemotion Programming 1 04-22-2004 02:08 PM


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

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