Tom Carroll wrote:
> Is there a way to keep gallery and phpmyadmin from being
> served by my virtual domain, and to keep interchange from
> being served to the primary domain if I install interchange
> to the /opt/ directory? If there is a way I'll stick with
> the method of putting interchange under the /opt/ directory.
Tom, the only way I can think of making this work is to put the httpd.conf Alias directives inside the VirtualHost directives, example below:
ServerName secure.virtualdomain1.com
ServerAlias virtualdomain1.com www.virtualdomain1.com
Alias /interchange /opt/interchange
Options -Indexes
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc off
php_flag track_vars on
To accomplish this 'correctly' would require some complex httpd.conf template editing, but definitely possible. Hopefully someone might have a better/simpler idea.
Regards,
Darrell