httpd/mod_perl/startup.pl
changeset 3265 14e6605f488e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/httpd/mod_perl/startup.pl	Mon Nov 28 22:16:21 2011 +0200
@@ -0,0 +1,14 @@
+# mod_perl startup file for the W3C Markup Validator
+# http://perl.apache.org/docs/2.0/user/handlers/server.html#mod_perl_Startup
+
+use warnings;
+use strict;
+
+# If the validator is not installed in its default dir layout in
+# /usr/local/validator, be sure to modify this file so that the path to
+# catalog.xml below is correct for validator's sgml-lib/catalog.xml
+
+my $home = $ENV{W3C_VALIDATOR_HOME} || "/usr/local/validator";
+$ENV{XML_CATALOG_FILES} = "$home/htdocs/sgml-lib/catalog.xml";
+
+1;