diff options
-rwxr-xr-x | htdocs/docs/install.html | 10 | ||||
-rw-r--r-- | httpd/conf/httpd.conf | 17 |
2 files changed, 16 insertions, 11 deletions
diff --git a/htdocs/docs/install.html b/htdocs/docs/install.html index 5c7c16d..808c74e 100755 --- a/htdocs/docs/install.html +++ b/htdocs/docs/install.html @@ -1,5 +1,5 @@ -<!--#set var="revision" value="\$Id: install.html,v 1.23 2007-07-10 03:30:13 ot Exp $" ---><!--#set var="date" value="\$Date: 2007-07-10 03:30:13 $" +<!--#set var="revision" value="\$Id: install.html,v 1.24 2007-07-24 06:56:45 ot Exp $" +--><!--#set var="date" value="\$Date: 2007-07-24 06:56:45 $" --><!--#set var="title" value="Installation Documentation for The W3C Markup Validation Service" --><!--#set var="relroot" value="../" --><!--#include virtual="../header.html" --> @@ -94,7 +94,7 @@ title="Comprehensive Perl Archive Network">CPAN</acronym></a> (minimum versions in parenthesis after the name). The following list was complete when CVS spit out: - <code>$Date: 2007-07-10 03:30:13 $</code>. <tt>:-)</tt> + <code>$Date: 2007-07-24 06:56:45 $</code>. <tt>:-)</tt> </p> <p> One easy - and strongly recommended - way to take care of all these @@ -281,6 +281,10 @@ if you plan on using another server.</p> <ol> <li> + <p>If you are using the apache server, we strongly recommend using the validator under mod_perl2.</p> + <p>This should happen automatically if your apache server has mod_perl2 installed and enabled, and it will bring important performance benefits.</p> + </li> + <li> <p> Edit the configuration of your Web server to refer to the specific configuration file for the validator. diff --git a/httpd/conf/httpd.conf b/httpd/conf/httpd.conf index eb1fe5c..bb2ec3a 100644 --- a/httpd/conf/httpd.conf +++ b/httpd/conf/httpd.conf @@ -16,18 +16,19 @@ AliasMatch ^/+w3c-validator/+check$ /usr/local/validator/cgi-bin/check AliasMatch ^/+w3c-validator/+feedback(\.html)?$ /usr/local/validator/cgi-bin/sendfeedback.pl -#<IfDefine MODPERL2> +<IfDefine MODPERL2> # Note: this affects the whole server, not just the validator. -#PerlSwitches -T -#</IfDefine> +PerlSwitches -T +</IfDefine> + <LocationMatch "^/+w3c-validator/+(check|feedback(\.html)?)$"> Options +ExecCGI SetHandler cgi-script -#<IfDefine MODPERL2> -# SetHandler perl-script -# PerlResponseHandler ModPerl::Registry -# PerlOptions +ParseHeaders -#</IfDefine> +<IfDefine MODPERL2> + SetHandler perl-script + PerlResponseHandler ModPerl::Registry + PerlOptions +ParseHeaders +</IfDefine> </LocationMatch> # This is the directory where you have the validator's *.html, *.css etc files. |