tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Bell" <jbell...@btclick.com>
Subject Tomcat, Apache and PHP
Date Wed, 01 Jan 2003 12:51:32 GMT
I use mod_jk to connect Apache and Tomcat.  
I want Apache to serve PHP resources.

If I do http://localhost/myPHP then Apache serves the PHP application which is what I want
to do remotely but 

if I do http/213.120.114.94/myPHP then the request is sent onto Tomcat which does'nt serve
PHP.


I try and use Vitual Hosts in the Apache httpd.conf file as many sites wil ne hosted on the
server.

NameVirtualHost 213.120.114.94

<VirtualHost 213.120.114.94>

ServerAdmin webmaster@n-sis.co.uk

DocumentRoot /coffeemy

ServerName www.capucino.co.uk

ErrorLog logs/capucino.error_log

CustomLog logs/capucino.co.uk-access_log combined

</VirtualHost>


Can anyone help please.

John
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message