validator/httpd/conf httpd.conf,1.25,1.26

Update of /sources/public/validator/httpd/conf
In directory hutz:/tmp/cvs-serv20776/httpd/conf

Modified Files:
	httpd.conf 
Log Message:
Simplify, rephrase and sync default paths with validator.conf and "check".

Index: httpd.conf
===================================================================
RCS file: /sources/public/validator/httpd/conf/httpd.conf,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- httpd.conf	20 Jul 2005 13:26:02 -0000	1.25
+++ httpd.conf	21 Jul 2005 21:12:19 -0000	1.26
@@ -3,32 +3,24 @@
 # Note that this is not a complete server configuration file, but contains
 # only the validator-specific part.
 #
-# You may use the Include directive for including this in your main httpd.conf.
-#
-# $Id$
+# You can use the Include directive for including this in your main httpd.conf.
 #
-
 # The values below assume that you have the validator files in
-# /usr/share/w3c-markup-validator.  If not, tune them according to your setup.
-
+# /usr/local/validator.  If not, tune them according to your setup.
+#
 # Note: running the validator under mod_perl is not supported at the moment.
 
-# This is the directory where you have the validator's "check"
-# script as well as its and *.html, *.css etc files.
+# First, tell httpd that check and sendfeedback.pl are CGI scripts.
 
-Alias /w3c-validator/ "/usr/share/w3c-markup-validator/htdocs/"
-ScriptAlias /w3c-validator/feedback "/usr/share/w3c-markup-validator/httpd/cgi-bin/sendfeedback.pl"
-ScriptAlias /w3c-validator/feedback.html "/usr/share/w3c-markup-validator/httpd/cgi-bin/sendfeedback.pl"
+ScriptAlias      /w3c-validator/check   /usr/local/validator/cgi-bin/check
+ScriptAliasMatch /w3c-validator/feedback(\.html)? /usr/local/validator/cgi-bin/sendfeedback.pl
 
-<Directory /usr/share/w3c-markup-validator/htdocs>
-  Options               ExecCGI IncludesNOEXEC Indexes MultiViews
+# This is the directory where you have the validator's *.html, *.css etc files.
+
+Alias /w3c-validator/   /usr/local/validator/htdocs/
+<Directory /usr/local/validator/htdocs/>
+  Options               IncludesNOEXEC Indexes MultiViews
   AllowOverride         None
   AddHandler            server-parsed .html
   AddCharset            utf-8         .html
 </Directory>
-
-# Tell httpd that "check" is a CGI script.
-
-<Location "/w3c-validator/check">
-  SetHandler            cgi-script
-</Location>

Received on Thursday, 21 July 2005 21:12:23 UTC