2000-07-14 13:02:41 +00:00
|
|
|
Installation
|
|
|
|
|
==============
|
2000-02-26 10:24:46 +00:00
|
|
|
|
2000-06-11 20:26:08 +00:00
|
|
|
Requirements
|
|
|
|
|
------------
|
2001-01-22 23:02:54 +00:00
|
|
|
Python >= 2.0 from http://www.python.org/
|
2000-11-09 12:02:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Optionally packages
|
|
|
|
|
-------------------
|
|
|
|
|
OpenSSL from http://www.openssl.org/
|
|
|
|
|
|
2000-04-28 11:17:58 +00:00
|
|
|
|
2000-10-10 09:28:27 +00:00
|
|
|
Setup
|
|
|
|
|
-----
|
2001-05-18 19:09:28 +00:00
|
|
|
Run "python2 setup.py config" to configure.
|
|
|
|
|
You can provide additional parameters, for example Linux users
|
|
|
|
|
can run "python2 setup.py config -lcrypto" to use the SSL module.
|
|
|
|
|
Run "python2 setup.py build" to build.
|
|
|
|
|
Run "python2 setup.py install" to install.
|
|
|
|
|
Run "python2 setup.py --help" for help.
|
|
|
|
|
|
|
|
|
|
After installation, the system wide configuration file is in
|
2000-10-13 21:58:45 +00:00
|
|
|
<prefix>/share/linkchecker/linkcheckerrc.
|
2000-12-22 16:25:32 +00:00
|
|
|
On Debian Linux systems it is in /etc/linkcheckerrc.
|
2000-12-17 01:32:05 +00:00
|
|
|
The local configuration file is ~/.linkcheckerrc on Unix platforms.
|
2000-10-13 21:58:45 +00:00
|
|
|
|
2001-05-18 19:09:28 +00:00
|
|
|
To run the program type "linkchecker" followed by your URLs you want
|
2000-10-10 16:43:54 +00:00
|
|
|
to check.
|
2000-05-22 17:40:42 +00:00
|
|
|
Type "linkchecker -h" for help.
|
2000-03-19 14:24:33 +00:00
|
|
|
|
2000-07-10 12:29:08 +00:00
|
|
|
|
|
|
|
|
(Fast)CGI web interface
|
|
|
|
|
-----------------------
|
2000-11-09 12:02:38 +00:00
|
|
|
The *cgi files are three CGI scripts which you can use to run LinkChecker
|
2000-07-15 14:14:16 +00:00
|
|
|
with a nice graphical web interface.
|
|
|
|
|
You can use and adjust the example HTML files in the lconline directory
|
|
|
|
|
to run the script.
|
2000-11-09 12:02:38 +00:00
|
|
|
1) Choose a CGI script. The simplest is lc.cgi and you need a web server
|
|
|
|
|
with CGI support.
|
2001-05-18 19:09:28 +00:00
|
|
|
The scripts lc.fcgi (I tested this a while ago) and lc.sz_fcgi
|
2000-11-09 12:02:38 +00:00
|
|
|
(untested) need a web server with FastCGI support.
|
|
|
|
|
2) Copy the script of your choice in the CGI directory.
|
|
|
|
|
3) Adjust the "action=..." parameter in lconline/lc_cgi.html
|
|
|
|
|
to point to your CGI script.
|
|
|
|
|
4) load the lconline/index.html file, enter an URL and klick on the
|
|
|
|
|
check button
|
2000-11-16 09:43:01 +00:00
|
|
|
5) If something goes wrong, check the following:
|
|
|
|
|
a) look in the error log of your web server
|
|
|
|
|
b) be sure that you have enabled CGI support in your web server
|
|
|
|
|
do this by running other CGI scripts from which you know that
|
|
|
|
|
they are working
|
|
|
|
|
c) try to run the lc.cgi script by hand
|
|
|
|
|
d) try the testit() function in the lc.cgi script
|