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.217.198.203.182.1039770401.squirrel@webmail.kern.nl>
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#export
CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public
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
<cut>

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
</Directory>

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

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?




Grtz,

Wim Fournier
wim@hsmade.[com|net|org]
Received on Friday, 13 December 2002 04:06:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:05 GMT