httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W i l l y" <willyr...@hotmail.com>
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
>following:
>
>- You have:
>UserDir public_html

Yes


>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

Yes
>
>- 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: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message