cgi-bin and virtual hosts

jaymax jaymax36 at gmail.com
Tue Dec 15 04:14:40 UTC 2009


I have an Apache Server v 2.2.11 running on a FreeBSD platform OS/7.2 w/ one
NIC Card and hence one IP #.

Now, I have several virtual hosts running, two types -
(1) as a subdomain ex. vhost1.domain.com, ... vhost99999.domain.com and 
(2) others with their own registered domain as vhost-a.com ... vhost-z.com

all of these have this in their virtual host directive
	<IfModule alias_module>
		ScriptAlias /cgi-bin/ /usr/local/www/apache22/cgi-bin
	</IfModule>
and similarly lines in the main httpd.conf file.

The problem is that only the default domain.com/cgi-bin seems to works,
using printenv or test-cgi

Could someone advise?


Thanks!



-- 
View this message in context: http://old.nabble.com/cgi-bin-and-virtual-hosts-tp26789179p26789179.html
Sent from the freebsd-apache mailing list archive at Nabble.com.



More information about the freebsd-apache mailing list