W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Check script is dumped in the browser as is

From: EE <ee@bjaili.com>
Date: Sat, 31 Jul 2004 17:53:34 +0300
To: validator <www-validator@w3.org>
Message-id: <1091285614.2534.8.camel@localhost.localdomain>


No way, I could not get this thing to work. My index.html loads fine
with header and footer. However, when I send an html file for
validation, I get a 404 Not Found msg with the following in the browser
url address box:


When I move the check script from ..../htdocs/cgi-bin to ..../htodcs,
the server dump all the code of check in the broweser. Can anyone help?

Note: this is my http2.conf file. There is nothing in the
validator-http.conf file.


	ServerName www.validator.example.com
	DocumentRoot /var/www/html/validator/htdocs/
        ScriptAlias /cgi-bin/ /var/www/html/validator/htdocs/cgi-bin/
<Directory /var/www/html/validator/htdocs>
 	 Options               ExecCGI IncludesNOEXEC Indexes MultiViews
	 AllowOverride         None
  	 AddHandler            server-parsed .html
	 AddCharset            utf-8         .html


<IfModule mod_perl.c>

  # mod_perl 1.2x:
  #PerlModule            Apache::Registry
  #PerlTaintCheck        On
  #PerlWarn              On

  # mod_perl 1.99+:
  #PerlModule            ModPerl::Registry
  #PerlSwitches          -wT


# Tell httpd that "check" is a CGI script.

<Location "/var/www/html/validator/htdocs/cgi-bin/check">

  SetHandler            cgi-script

  <IfModule mod_perl.c>

    # All mod_perl versions:
    #SetHandler          perl-script

    # mod_perl 1.2x:
    #PerlHandler         Apache::Registry
    #PerlSendHeader      On

    # mod_perl 1.99+:
    #PerlResponseHandler ModPerl::Registry
    #PerlOptions         +ParseHeaders



Received on Saturday, 31 July 2004 10:55:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:43 UTC