xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Barnes <david...@yahoo.com>
Subject Getting Apache to give Tomcat the xml files
Date Fri, 11 Aug 2000 01:24:38 GMT
Figured out the problem. I had my Apache http.conf
file including the automatically generated
tomcat-apache.conf file. This configured things so
that Tomcat handled java requests, but Apache did
everything else.

See the problem? The xml files ended in *.xml, so
Apache handled them - Tomcat/Cocoon never had a
chance. I copied tomcat-apache.conf to a new file
called tom-xml.conf, which I included in http.conf.
Then I added this line to tom-xml.com:

AddHandler jserv-servlet .xml

Now, mod_jserv knows to send both *.jsp and *.xml
pages to Tomcat.


If server down, it's because I'm working on it.

--- David Barnes <davidstl@yahoo.com> wrote:
> Hello again,
> Thanks to previous help - especially Walter - I was
> able to get Cocoon running. However, it only runs on
> port 8080 so isn't available outside the firewall. I
> can change the firewall, of course, but is there a
> way
> to make it run - along with Apache - on port 80? A
> lot
> of companies only allow port 80 through.
> I am using Linux 2.2 and the latest versions of
> Apache, Tomcat, and Java. Config info is usually
> available here:
> I installed Cocoon following the directions here:
> http://xml.apache.org/cocoon/install-case.html
> except
> I changed Windows-specific to Linux.
> I tried changing server.xml and server.dtd in the
> tomcat conf file to 80, but this caused Apache not
> to
> start (tomcat was already listening on 80).
> If it makes any difference, the server is behind a
> firewall and has a different IP address than the
> public IP address.
> Thanks for your help,
> David
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
> In case of troubles, e-mail:    
> webmaster@xml.apache.org
> To unsubscribe, e-mail:         
> general-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> general-help@xml.apache.org

Do You Yahoo!?
Kick off your party with Yahoo! Invites.

View raw message