httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cody Harris <h...@ns.sympatico.ca>
Subject Re: [users@httpd] CGI Error
Date Tue, 06 May 2003 22:21:53 GMT
[root@vectec cgi-bin]# ./test.pl
Content-Type: text/html; charset=ISO-8859-1

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
         PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
         "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
lang="en-US"><head><title>Untitled Document</title>
</head><body></body></html>[root@vectec cgi-bin]#

But internal error from Apache.

And for the guy that wanted me to do all that stuff with dirs, you've got 
me wondering what you mean.

At 12:17 AM 5/7/2003 +0200, you wrote:
>#!/usr/bin/perl
>
>use CGI;
>
>$q = new CGI;                        # create new CGI object
>print $q->header,                    # create the HTTP header
>       $q->start_html(''),            # start the HTML
>       $q->end_html;                  # end the HTML
>exit;



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message