Apache/Tomcat/PHP config
| From: | Jim Douglas | Date: | Mon, 01 May 2006 01:55:15 +0000 |
| Subject: | Apache/Tomcat/PHP config | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17289@lists.php.net to get a copy of this message | ||
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 pr@xxxx.com
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