You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Iván Vega Rivera <iv...@i-sol.biz> on 2002/09/10 21:37:33 UTC

[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