SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

MAN page from Mandriva 2010 webgrep-2.12-5mdv2010.0.i586.rpm

httpcheck

Section: User Commands (1)
Updated: Nov 1999
Index 

NAME

httpcheck - check a web page using a http HEAD request 

SYNOPSIS

httpcheck[-ehE] [url1 url2...] 

DESCRIPTION

httpcheck issues a http HEAD request for a given url to see if the web-page exists.With no url specified on the command line httpcheckexpects on stdin input lines in the same format as produced by 'blnkcheck -a'.httpcheckis basically a post-processor for blnkcheck to verify the absolutehttp links. httpcheckdoes checks for links of protocol type http. It can not check https orftp. 

OPTIONS

-h
Prints a little help/usage information.
-e
Print only results when an error occured. An error is any thing other than a http result code of 200 (OK), 301 (Moved Permanently) or 302 (Moved Temporarily). This option supresses also messages about links that can not be checked because they are not of protocol type http.
-E
Like -e but prints dots on the screen for every url that is checked.

httpcheck can handle requests to proxy servers. You may set the environmentvariables HTTP_PROXY and NO_PROXY or http_proxy and no_proxy if you wouldlike to use a proxy server. The upper case versions take precedenceover the lower case ones. To use the proxy server www-proxy on port8080 you must set the http_proxy variable as follows:
For sh/bash: export http_proxy=http://www-proxy:8080
For csh/tcsh: setenv http_proxy http://www-proxy:8080
The no_proxy variable must hold a comma or space seperated list of servers or domains for which a direct connection should be made.

httpcheck is written in perl. It expects perl 5.003 or higher in /usr/bin/perl 

EXAMPLE

Check a single link:
httpcheck http://www.linux.de/

Post process the output of blnkcheck:
blnkcheck -a *.html | httpcheck -E

 

BUGS

no known bugs 

AUTHOR

Guido Socher (guido.socherAATTlinuxfocus.org) 

SEE ALSO

hrefgrep(1), srcgrep(1), blnkcheck(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
BUGS
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.