mod_layout Premature end of script headers

"Christopher Breuer" <[email protected]> Sat, 16 Apr 2005 19:44:04 +0200
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Hi,

just tried to include mod_layout to our free hosting service.

But it did not really work, because this is the problem:

<VirtualHost xxx.xxx.xxx.xxx:80>
	ServerName username.domain.de
	DocumentRoot /main_root_dir/userdir
	ScriptAlias /scripts/ "/main_root_dir/"
	LayoutHeader /scripts/header.php
</VirtualHost>

The Problem, as you can see, is, that all the user files are in a sub dir, and
the header should come from an upper dir.

Everytime i try the thing above, this is the result:

[Sat Apr 16 19:35:09 2005] [error] (8)Exec format error: exec of /var/www/web0/html/content.php failed
[Sat Apr 16 19:35:09 2005] [error] [client 217.234.193.252] Premature end of script headers: /var/www/web0/html/content.php
[Sat Apr 16 19:35:09 2005] [error] [client 217.234.193.252] The following error occured while processing the Layout : 500

This comes when it open: /var/www/web0/html/testuser/index.php

The Site loads, but not the ad, if i put the content.php in the testuser subdir, there is no problem just with LayoutHeader /content.php

Thanks for all your work!

Greets

Christopher