W3C home > Mailing lists > Public > www-validator@w3.org > December 2002

Installing 0.60 on Debian

From: Wim Fournier <w3c@hsmade.com>
Date: Fri, 13 Dec 2002 10:06:41 +0100 (CET)
Message-ID: <1255.>
To: <www-validator@w3.org>

Hi all,
here is how I've done it.

I retrieved the source from w3.org into a /tmp directory:
host:/tmp/validator#cvs login
Logging in to :pserver:anonymous@dev.w3.org:2401/sources/public
CVS password:
host:/tmp/validator#cvs get -r validator-0_6_0-branch validator

Then I copied several dirs to their destination:
host:/tmp/validator#mkdir /var/www/validator-0.60
host:/tmp/validator#cp -a htdocs/* /var/www/validator-0.60/
host:/tmp/validator#mkdir /etc/w3c
host:/tmp/validator#mkdir /etc/w3c/sgml
host:/tmp/validator#mv /var/www/validator-0.60/config/* /etc/w3c/
host:/tmp/validator#mv /var/www/validator-0.60/sgml-lib/* /etc/w3c/sgml
host:/tmp/validator#cp -a httpd/cgi-bin /var/www/validator-0.60/
host:/tmp/validator#cd /var/www/validator-0.60

I make links instead of copying so I can do a cvs update safely

host:/tmp/validator#for file in cgi-bin/*; do ln -s /var/www/validator-
0.60/cgi-bin/$file .; done

Next I changed the apache httpd.conf, I added these lines:
# w3c validator 0.60
<Directory /var/www/validator-0.60>
  Options              ExecCGI IncludesNOEXEC Indexes MultiViews
  AllowOverride        None
  AddHandler           server-parsed .html
  AddCharset           utf-8         .html

<LocationMatch "/validator-0.60/check(link)?">
  SetHandler           cgi-script

The good side about this is that I can do a cvs update in every directory
of the validator to update.

*NOTE: I had to edit the /var/www/validator-0.60/cgi-bin/check to remove
the -R line in the call for the sgml parser on line 476.

I hope this helps out some newbies (like me ;) to get this thing working.
Anyone any comments addons?


Wim Fournier
Received on Friday, 13 December 2002 04:06:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:35 UTC