Hi all.
I know this isn't php related, but I'm not subscribed to an apache
mailing list, and this is probably the closest of all the mailing
lists I'm subscribed to, to the topic.

I tried to enable CGI in my $HOME/public_html directory, by adding the
ExecCGI option, to the <Directory /home/*/public_html> section of the
httpd.conf file. Any CGI's I ran resulted in an "Internal Server
Error" on screen, and a "Premature end of script headers" in the error
log.

When I change to using a ScriptAlias the CGI's work fine, but I need
to have other non-cgi's in the same directory, and using ScriptAlias,
means that everything is considered a CGI, including Images, and CSS,
which as a result don't work.

That fact that ScriptAlias works suggests that my scripts are okay -
but why don't they work with ExecCGI?

I'm using Fedora Core 3, with "Apache/2.0.52 (Fedora) Server at
localhost Port 80", and otherwise default settings.

Regards
Rory

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to