summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--httpd/conf/httpd.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/httpd/conf/httpd.conf b/httpd/conf/httpd.conf
index c747e7f..c96c1f6 100644
--- a/httpd/conf/httpd.conf
+++ b/httpd/conf/httpd.conf
@@ -5,7 +5,7 @@
#
# You may use the Include directive for including this in your main httpd.conf.
#
-# $Id: httpd.conf,v 1.20 2004-05-09 15:56:54 link Exp $
+# $Id: httpd.conf,v 1.21 2004-10-10 13:04:45 ville Exp $
#
# The values below assume that you have the validator files in
@@ -16,6 +16,7 @@
# This is the directory where you have the validator's "check"
# script as well as its and *.html, *.css etc files.
+
Alias /w3c-validator/ "/usr/share/w3c-markup-validator/"
<Directory /usr/share/w3c-markup-validator>
@@ -39,10 +40,16 @@ Alias /w3c-validator/ "/usr/share/w3c-markup-validator/"
</IfModule>
# Tell httpd that "check" is a CGI script.
+
<Location "/w3c-validator/check">
+
SetHandler cgi-script
<IfModule mod_perl.c>
+
+ # All mod_perl versions:
+ #SetHandler perl-script
+
# mod_perl 1.2x:
#PerlHandler Apache::Registry
#PerlSendHeader On
@@ -50,5 +57,7 @@ Alias /w3c-validator/ "/usr/share/w3c-markup-validator/"
# mod_perl 1.99+:
#PerlResponseHandler ModPerl::Registry
#PerlOptions +ParseHeaders
+
</IfModule>
+
</Location>