books
Free Books / Computers / Practical mod_perl /

previous page: 3.10.4. Testing via a CGI Script
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 3.11. General Notes

3.10.5. Testing via lwp-request




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

Assuming you have the libwww-perl (LWP) package installed, you can run the following tests. (Most likely you do have it installed, since you need it to pass mod_perl's make test.)

panic% lwp-request -e -d http://www.example.com

This shows you just the headers; the -d option disables printing the response content. If you just want to see the server version, try:

panic% lwp-request -e -d http://www.example.com | egrep '^Server:'

Of course, you should use http://www.example.com:port_number if your server is listening to a port other than port 80.

 

Continue to:

  • prev: 3.10.4. Testing via a CGI Script
  • Table of Contents
  • next: 3.11. General Notes

Books by Stas Bekman:















TOP
previous page: 3.10.4. Testing via a CGI Script
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 3.11. General Notes

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com