Jim Douglas wrote:
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
can't you simply create another Alias for each of the php apps?
eg.
Alias /app1 /path/to/app1
Alias /app2 /path/to/app2
and so long as apache knows to process .php files through mod_php all
is sweet? I could be way off here and probably am, seems too obvious, I
have never had to deal with a tomcat setup before.
Cheers,
Brad Kowalczyk