tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam De Francesco" <...@alex.qnix.com.au>
Subject mod_webapp and php
Date Wed, 16 Jan 2002 15:35:32 GMT
Hi,

I'm trying to set up a virtual host that will allow the
user to have both JSP/Servlets and PHP running concurrently,
using mod_webapp. I'm using apache 1.3.20 and tomcat 4.

Should I be able to mix .php and .jsp files in the same
directory using mod_webapp, and have apache/tomcat figure
out who will handle it automatically? Or am I being optimistic?
Or must I separate them out into different directories so
that apache will know what to handle locally and what to pass
on to Tomcat? But if I have the / path being handled by tomcat, eg
as follows:

    <IfModule mod_webapp.c>
        WebAppConnection    conn    warp  localhost:8006
        WebAppDeploy        ROOT    conn  /
    </IfModule>

is it possible to have php files parsed correctly
at all using this configuration? If so, do I need
to tell Apache to handle php files by itself, and how?

One other question, does a new WebAppDeploy line need to
be added to httpd.conf for every new webapp that gets
added?

Sorry for all the questions, just trying to increase my
understanding of how it all hangs together.

Regards and thanks,
Sam.



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message