Hello All,

I am trying to set up Apache::ASP on multiple Virtual Hosts on a
single machine.  The problem that I am having seems to be crossover of
the global.asa from one VirtualHost to another.  In httpd.conf, I have
the following VirtualHost definitions:

<VirtualHost *:80>
    DocumentRoot "/var/www/site1"
    ServerName site1.domain.com

    <Directory "/var/www/site1">
        Options Indexes FollowSymLinks ExecCGI Includes
        AllowOverride All
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/var/www/site2"
    ServerName site2.domain.com

    <Directory "/var/www/site2">
        Options Indexes FollowSymLinks ExecCGI Includes
        AllowOverride All
    </Directory>
</VirtualHost>

In the .htaccess file for site1, I have:
PerlSetVar Global .
PerlSetVar GlobalPackage Apache::ASP::Site1
PerlSetVar StateDir  /tmp/site1

In the .htaccess file for site2, I have:
PerlSetVar Global .
PerlSetVar GlobalPackage Apache::ASP::Site2
PerlSetVar StateDir  /tmp/site2


I have different subs defined in the globabl.asa file for each site
and every once in a while on site1 I will get an error:

Couldn't execute: ERROR: Attribute "workcenter" not found at
/var/www/site2//./global.asa

I occasionally get similar errors in site2 about site1's globabl.asa. 
Does anyone know where this is coming from?  What did I configure
incorrectly that causes the global.asa to cross hosts?

Any help would be greatly appreciated.

Thanks,
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to