httpd again...
Hi,
I know you've seen similar problems, but I haven't found exactly the same on this forum. I'm trying to set up CGI subdirectories in users' home directories. This is what I put into /etc/httpd/conf/httpd.conf: <Directory /home/*/public_html/cgi-bin> AllowOverride Options Options +ExecCGI SetHandler cgi-script Order allow,deny Allow from all </Directory> I guess it's pretty standard. Yet, none of the scripts in any user's ~/public_html/cgi-bin can be run through a browser (I use Netscape). The error message is the notorious "Premature end of script headers", for scripts that run fine if put into the main script directory (http://localhost/cgi-bin/...). Any suggestions...? Best -- Laszlo |
"Premature end of script headers"...
Hi,
Found the solution myself. The permissions of every script in a +ExecCGI directory must be 755 in order to be executable. (Set umask to 22 for all users as a default?) Best -- Laszlo |
All times are GMT -5. The time now is 10:44 PM. |