httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin O'Neil" <kevinsl...@verizon.net>
Subject [users@httpd] Help with virtual hosts
Date Wed, 23 Feb 2005 23:15:05 GMT
Here is the code from my virtual hosts:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.websiteone.com
ServerAlias websiteone.com
DocumentRoot /var/www/websiteone.com/html
ScriptAlias /cgi-bin/ "/var/www/websiteone.com/cgi-bin/"
</VirtualHost>

<VirtualHost *:80>
ServerName www.websitetwo.net
ServerAlias websitetwo.net
DocumentRoot /var/wwwwebsitetwo.net/html
ScriptAlias /cgi-bin/ "/var/www/websitetwo.net/cgi-bin/"
</VirtualHost>

The html aspect does show the correct info for each website, the problem is
I can't get the cgi-bin for each of them to work.

I did a google search for this and also the docs for apache, but can't find
a solution.

Any help,

Thanks,
Kevin 



---------------------------------------------------------------------
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


Mime
View raw message