Missing Perl dependencies in Validator documentation

Hi,

[ Not a list subscriber; offering feedback after checking archives ]

Following this week's W3C Weekly News, I just set up a validator
locally.  It is really easy to install, thanks.  :^)

However, the documentation failed to mention two of the Perl
dependencies, so perhaps these could be added?

Missing from <URL:http://validator.w3.org/docs/install.html>:

 * Config::General
 * Net::IP

In case this helps: using a direct unpack of the validator source and
keeping it self-contained, aside from the Apache config elsewhere, this
is what I used in Apache2; I put everything under /var/www/validator/
and I've substituted validator.example.org for the hostname used (and
the TEST-NET for the local network).  Primarily, I didn't want to be
forced into a particular /etc/ layout.

Rather than wrap the SetEnv in an IfModule, I've chosen to let the
config fail if mod_env isn't loaded.

<Directory "/var/www/validator/htdocs">
  Options       IncludesNOEXEC Indexes MultiViews
  AllowOverride None
  AddHandler    server-parsed   .html
  AddCharset    utf-8           .html
  Order allow,deny
  Allow from 192.0.2.0/24
  Allow from 127.0.0.1/8
</Directory>
<Directory "/var/www/validator/httpd/cgi-bin">
  Options       ExecCGI
  AllowOverride None
  SetHandler    cgi-script
  Order allow,deny
  Allow from 192.0.2.0/24
  Allow from 127.0.0.1/8
</Directory>
 
<VirtualHost *>
  ServerName    validator.example.org
  ServerAlias   validator
  ErrorLog      /var/log/www/validator-error_log
  CustomLog     /var/log/www/validator-access_log combined
  DocumentRoot  /var/www/validator/htdocs
  SetEnv W3C_VALIDATOR_CFG /var/www/validator/htdocs/config/validator.conf
  ScriptAlias   /check  "/var/www/validator/httpd/cgi-bin/check"
</VirtualHost>

Hope this helps,
-Phil

Received on Tuesday, 11 May 2004 08:29:55 UTC