PHP apps
| From: | Jim Douglas | Date: | Sat, 06 May 2006 02:29:03 +0000 |
| Subject: | PHP apps | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17301@lists.php.net to get a copy of this message | ||
To all,
I have a JSP/Servlet based webapp that will rely on 2 diffferent PHP apps for specific services. I have everything working with the JSP/JAVA webapp and the first PHP app, but can't get the second one working.
With my current config I have to redirect via html from the PHP directory to get to the JSP based app, I would prefer not to but that was the only way I could the PHP app integrated.
<meta http-equiv="refresh" content="1;URL=http://www.xxx.org/mydir/">
Does the PHP bridge need to have a PHP directory as the default?
How can I get the bridge to work so I can deploy several PHP apps to Tomcat ?
I really need to be able to set the JSP/JAVA webapp as the default directory and access the PHP apps like this, www.xxx.org/PHPapp1, www.xxx.org/PHPapp2 etc....is this possible?
This is my http.conf file
<VirtualHost *:80>
ServerAlias xxx.org *.xxx.org
DocumentRoot /usr/opt/tomcat/webapps/PHPapp
Alias / /usr/opt/tomcat/webapps/mywebapp/
</VirtualHost>
Thanks,
Jim