Martin �stlund wrote:
Hello.

I get this annyoing Premature end of script headers: /www/cgi-bin/vqadmin/vqadmin.cgi and has researched _alot_ latley, without
getting it to work.


My httpd.conf looks like this:

<VirtualHost 192.168.0.100:80>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /www/htdocs/vqadmin
   ServerName vqadmin.internal.com
   ErrorLog logs/vqadmin-error.log
   CustomLog logs/vqadmin-access.log combined
   <Directory "/www/cgi-bin/vqadmin">
     Options ExecCGI
    </Directory>
 ScriptAlias /cgi-bin/ /www/cgi-bin/
</VirtualHost>

Im running Apache 1.3.33 without suexec installed.

Cheers,
Martin

Martin, this looks like an Apache problem, but I'll take a stab:
In Apache 1.3xx, don't you have a Vhosts.conf file along with your main httpd.conf?
And isn't that where your VirtualHost x.x.x.x:xx> should be set up? Not in the httpd.conf?
Check both configuration files.
Then, try taking out that trailing slash in the ScriptAlias.
Put a plus sign as the first character in Options
(like: Options +ExecCGI)
Check syntax for <Directory xxxx> Are the quotes required? I'm not sure, so make sure you look hard for that.
Restart apache.
Report with results ;)






Reply via email to