You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by David Barnes <da...@yahoo.com> on 2000/08/11 03:24:38 UTC
Getting Apache to give Tomcat the xml files
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.
David
http://64.32.146.231/examples/Cocoon.xml
http://64.32.146.231/examples/samples/index.xml
If server down, it's because I'm working on it.
--- David Barnes <da...@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: http://64.32.146.231/
>
> 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.
http://invites.yahoo.com/