httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W i l l y" <>
Subject Re: CGI in users own dirs
Date Mon, 17 Dec 2001 10:02:09 GMT

> > Now instead of getting my previous error, I get
> > 'Premature end of script headers' in error.log, but the cgi script is
> > exactly the same as the one in /usr/lib/cgi-bin/, which works perfectly.

>This is progress! At least now the script is being executed... Check the
>- You have:
>UserDir public_html


>ScriptAlias /~user/cgi-bin    /home/user/public_html/cgi-bin

No, instead I have options ExecCGI for that directory, that is nearly 
equivalent isn't it?

>- hello.cgi is executable

>- when you do:
>$ /home/user/public_html/cgi-bin/hello.cgi
>it prints:
> >Content-type: text/html
> >
> >Hello World
> >

Yep that works

>- You type "http://your-server/~user/cgi-bin/hello.cgi" in the browser
>location window?

And I get a 403, forbidden.  The error log, however, says 'Premature end of 
script headers.'
Thanks for the help

MSN Photos is the easiest way to share and print your photos:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message