Installing 0.60 on Debian

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 UTC