It should be easy enough --:

tow different virtual domain in one Unix box should 
have no problem at all (even over hundereds).

Solution: for each v-host, use seperate cgi-bin dir

this is setup inside your apache web server:

httpd.conf file, 

in the V-host block.


Gordon Wu 

> -----Original Message-----
> From: Marshall Dudley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 2:04 PM
> To: [EMAIL PROTECTED]
> Subject: confusion between scripts
> 
> 
> We have had banners servers running on 2 different boxes for 
> years under
> mod_perl without any problems.  Recently we moved two banner servers
> onto the same box, each under a different virtual domain.
> 
> Now I cannot get them to run reliably.  It appears that since the
> banners in each are run as /cgi-bin/banner.pl, mod_perl is 
> getting them
> mixed up, and we end up having the script fail with errors 
> like that all
> kinds of things have been redefined, when they have not.
> 
> I have tried everything I can think of to stop this from happening.  I
> have even renamed the banner.pl for one of the domains to 
> ads.pl and am
> using a ScriptAlias to call the correct.  But even though the filename
> is now ads.pl, mod_perl compiled script still show it as 
> being compiled
> as banner.pl and still confuses the two script.
> 
> How can I fix this problem?  What seems strange is that the compiled
> scripts (see below) indicate that both of these have been compiled
> separately, but even so they apparently still run the wrong script.
> 
> Thanks,
> 
> Marshall
> 
> Embedded Perl version 5.00503 for Apache/1.3.11 (Unix) mod_perl/1.21
> process 20384,
> running since Thu Apr 6 10:35:15 2000
> 
> Click on package name to see its symbol table
> 
> Apache::ROOT::cgi_2dbin::banner_2epl
> Apache::ROOTwww_2eexeconn_2ecom::cgi_2dbin::banner_2epl
> Apache::ROOTwww_2egreat_2dlinks_2ecom::cgi_2dbin::banner_2epl
> 
> 
> 

Reply via email to