httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] 500 Err - Script headers...
Date Wed, 11 Sep 2002 08:04:06 GMT
What is the default document in your DocumentRoot? Try putting a plain HTML file called "index.html"
in there and see if it works (it should!)

Your problem is that something is executing php.exe as a CGI but that program is not working
(i.e. it is not producing a CGI-header). Nothing wrong with your config...

Rgds,

Owen Boyle

>-----Original Message-----
>From: Iván Vega Rivera [mailto:ivan@i-sol.biz]
>Sent: Dienstag, 10. September 2002 21:38
>To: users@httpd.apache.org
>Subject: [users@httpd] 500 Err - Script headers...
>
>
>Hi,
>
>I'm having some trouble in configuring a vhost in Apache.
>
>I have Apache 2.0.39 + PHP 4.2.1 on Windows XP Pro.
>
>I added a line in my hosts file so "mydomain.com" would resolve to
>127.0.0.1
>
>Then I added a vhost in httpd.conf:
>
><VirtualHost *>
>    DocumentRoot somepath
>    ServerName mydomain.com
>    <Directory "somepath">
>	Options Indexes FollowSymLinks
>	AllowOverride All
>	Order allow,deny
>	Allow from all
>    </Directory>
></VirtualHost>
>
>And when I open "mydomain.com" I get "Premature end of script headers:
>php.exe"
>
>Is there something wrong with my vhost config?
>
>Thanks in advance.
>
>- Ivan V.
>
>
>---------------------------------------------------------------------
>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
>
>

---------------------------------------------------------------------
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