httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Olds" <MikeO...@themozone.net>
Subject RE: [users@httpd] ScriptAlias two Virtual Host Directories
Date Sat, 28 Dec 2002 18:21:35 GMT
Gary,

<------------->

OK! Now I understand...

I have to take this back, sorry!

<-------------->

I think we must be having some kind of miscommunication about what I am
doing.

Here is an example (one of several) that describe ScriptAlias Virtual Host
Configuration that looks to my eye just like what I am doing:

Name-Based Virtual Hosting

#The following VirtualHost directive will answer for domain.com and
*.domain.com (* being a wildcard)

<VirtualHost 192.168.1.10>
ServerAdmin admin@domain.com
ServerName domain.com
ServerAlias *.domain.com
DocumentRoot /home/user/www
ErrorLog logs/domain.com-error_log
TransferLog logs/domain.com-access_log
ScriptAlias "/cgi-bin/" /home/user/www/cgi-bin
</VirtualHost>


# This Virtual Host will answer for circle.com, square.com and triangle.com.
It *WILL NOT* answer for www.circle.com, www.square.com or www.triangle.com.

<VirtualHost 192.168.1.10>
ServerAdmin admin@circle.com
ServerName circle.com
ServerAlias square.com
ServerAlias triangle.com
ErrorLog logs/circle.com-error_log
TransferLog logs/circle.com-access_log
ScriptAlias "/cgi-bin/"  /home/circle/www/cgi-bin
</VirtualHost>


So how is this fellow doing it? There is no mention of any special
configuration in the global section of the httpd.conf






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