[users@httpd] VirtualScriptAlias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have this in my config:

VirtualDocumentRoot /srv/www/vhosts/%0/docs
VirtualScriptAlias  /srv/www/vhosts/%0/cgi-bin

The virtual docs is working as expected, but I cannot get the cgi-bin to work 
properly. It now looks in the correct dir, but I get a Server Error:
Premature end of script headers: ttime.pl

I have only found out that if I did not use VirtualScriptAlias, but 
VirtualHost directive, I could use a handle:
AddHandler cgi-script /srv/www/vhost/domain/cgi-bin

But since I would like this to be automatic for new virtual script aliases, I 
would like the /correct method/.

Any hints?

-- 
Bjørge

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux