tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Bell" <jbell...@btclick.com>
Subject Re: Tomcat, Apache and PHP
Date Thu, 02 Jan 2003 15:57:25 GMT
John,

I changed the order of Virtual Hosts in httpd.conf
and put the PHP site as the first one - which becomes the default - and now
the JSP site is served by Tomcat and the  PHP site is at least found  by
Apache.
I guess there is something not quite right as the site should have been
picked up without it
being the default and now although the site (phpMyAdmin) is found it is not
being served quite correctly.

John

----- Original Message -----
From: "Turner, John" <JTurner@AAS.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Thursday, January 02, 2003 1:10 PM
Subject: RE: Tomcat, Apache and PHP


>
> OK, conversely, is there configuration for PHP that would skip picking up
a
> URL that is IP-only for the PHP processor?  I'm not that familiar with PHP
> configuration, I'm assuming it's done by file extension.  Is that
extension
> map happening for all of Apache, or just specific virtual hosts?
>
> John
>
>
> > -----Original Message-----
> > From: John Bell [mailto:jbell004@btclick.com]
> > Sent: Thursday, January 02, 2003 1:36 AM
> > To: Tomcat Users List
> > Subject: Re: Tomcat, Apache and PHP
> >
> >
> > Thanks John,
> >
> > No JkMount /* ajp13.
> > I suspect that my config in httpd.conf needs to be changed.
> >
> > ----- Original Message -----
> > From: "Turner, John" <JTurner@AAS.com>
> > To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> > Sent: Wednesday, January 01, 2003 11:00 PM
> > Subject: RE: Tomcat, Apache and PHP
> >
> >
> > >
> > > Do you have a wildcard JkMount statement somewhere, that
> > would take effect
> > > for that IP address?  Something like "JkMount /* ajp13"?
> > >
> > > John
> > >
> > >
> > > -----Original Message-----
> > > From: John Bell [mailto:jbell004@btclick.com]
> > > Sent: Wednesday, January 01, 2003 7:52 AM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Tomcat, Apache and PHP
> > >
> > >
> > > 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
> > >
> > > ---
> > > Incoming mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message