I am trying to set up PHP to serve up a several PHP webapps from Tomcat. I can get it to work for one of the PHP apps with the following,

Alias / /usr/opt/tomcat/webapps/Calendar/

....but the problem with the above is that now all PHP apps will have to be deployed to that directory. I have several PHP apps that would need to be deployed in their own directories.

I thought I should be able to get it working with some HTTP.CONF settings but have been unable, this is what I have tried also,

<VirtualHost *:80>
  ServerAdmin [EMAIL PROTECTED]
  ServerAlias xxxx.org  *.xxxx.org
  DocumentRoot /usr/opt/tomcat/webapps/xxxx
##   Alias / /usr/opt/tomcat/webapps/Calendar/
Alias http://www.xxxx.org/Calendar/index.php /usr/opt/tomcat/webapps/Calendar/
  Alias http://www.xxxx.org/Mail/index.php /usr/opt/tomcat/webapps/Mail/
</VirtualHost>

I would greatly appreciate anyones help!

Thanks,
Jim

Reply via email to