Thank you all you for your help.<br> <br> Best Regards,<br> <br> Will<br><br><b><i>Adam Sjøgren &lt;asjo@koldfront.dk&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Wed, 8 Aug 2007 06:14:54 -0700 (PDT), Will wrote:<br><br>&gt;  Sorry if I post an old question, I just want to know if I could do<br>&gt;  this to run multi app on the same server under mod_perl:<br> <br>&gt;     PerlSwitches -I/var/www/MyApp1/lib<br>&gt;     PerlModule MyApp1<br>    <br>&gt;     <Location><br>&gt;         SetHandler          modperl<br>&gt;         PerlResponseHandler MyApp1<br>&gt;     </Location><br><br>&gt;     PerlSwitches -I/var/www/MyApp2/lib<br>&gt;     PerlModule MyApp2<br>    <br>&gt;     <Location><br>&gt;         SetHandler          modperl<br>&gt;         PerlResponseHandler MyApp2<br>&gt;     </Location><br><br>Assuming that the <Location>-parts are in different virtual hosts (and<br>not as
 shown verbatim above), yes; that is what I do.<br><br>My site-configuration files basically looks like this (stuff omitted at<br>[...] for brevity):<br><br>,----[ /etc/apache2/sites-enabled/010-www.kammeratadam.dk ]<br>| PerlSwitches -I/var/www/www.kammeratadam.dk/lib<br>| PerlModule KammeratAdam<br>| <br>| <VirtualHost *=""><br>|     ServerName www.kammeratadam.dk<br>| [...]<br>| <br>|     <Location><br>|         SetHandler modperl<br>|         PerlResponseHandler KammeratAdam<br>|         ExpiresDefault "access plus 10 minutes"<br>|     </Location><br>| <br>|     <Location><br>|         SetHandler None<br>|         ExpiresDefault "access plus 1 week"<br>|     </Location><br>| [...] <br>| </VirtualHost><br>`----<br><br>,----[ /etc/apache2/sites-enabled/010-www.vantbanken.se ]<br>| PerlSwitches -I/var/www/www.vantbanken.se/lib<br>| PerlModule Vantbanken<br>| <br>| <VirtualHost *=""><br>|     ServerName www.vantbanken.se<br>| [...]<br>| <br>|     <Location><br>|        
 SetHandler modperl<br>|         PerlResponseHandler Vantbanken<br>| <br>|         AuthType Basic<br>|         AuthName "Not open yet"<br>|         AuthUserFile /var/www/www.vantbanken.se/conf/stats<br>|         Require valid-user<br>|     </Location><br>| [...]<br>| </VirtualHost><br>`----<br><br>&gt;  My question is the PerlSwitches, will it get any error with that?<br><br>Not unless your apps have different local modules with the same names,<br>I'd guess?<br><br><br>  Best regards,<br><br>     Adam<br><br>-- <br> "KOMPRESSOR crush american burger"                           Adam Sjøgren<br>                                                         asjo@koldfront.dk<br><br>_______________________________________________<br>List: Catalyst@lists.rawmode.org<br>Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst<br>Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/<br>Dev site:
 http://dev.catalyst.perl.org/<br></Location></blockquote><br><p>&#32;
      <hr size=1>Ready for the edge of your seat? 
<a href="http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/">Check out tonight's top picks</a> on Yahoo! TV.