From: <php...@li...> - 2006-03-31 18:53:59
|
>From: php...@li... >Reply-To: php...@li... >To: php...@li... >Subject: RE: [Php-java-bridge-users] Deploying Multiple PHP apps on >Apache/Tomcat >Date: Fri, 31 Mar 2006 17:40:07 +0200 (CEST) > >Hi, > > > DocumentRoot /usr/opt/tomcat/webapps/xxyxyx > >isn't it possible to set the DocumentRoot to >/usr/opt/tomcat/webapps so that the other apps become >visible to the HTTP server? For example: I tried this and when I do www.xxyxyx.com/MyPHPApp/index.php, and it can't find it. > >DocumentRoot "/usr/opt/tomcat/webapps" ><Directory "/usr/opt/tomcat/webapps/webapps"> > >Another option would be to keep the tomcat webapps and >the http server htdocs directory separate and to >symlink the individual apps from >/usr/opt/tomcat/webapps/appX to /var/www/html/appX. >For example: > >ln -s /usr/opt/tomcat/webapps/app1 /var/www/html/ >ln -s /usr/opt/tomcat/webapps/app2 /var/www/html/ I couldn't get these to work either. I did get it to work by adding the Alias to a different virtual host, which is ok for now becaue I use javascript to open another window. Alias / /usr/opt/tomcat/webapps/phpBB2/ Jim > > >Regards, >Jost Boekemeier > > > > > > > >___________________________________________________________ >Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live >webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >php-java-bridge-users mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |