tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Bell <Adam.B...@Halliburton.com>
Subject RE: Tomcat/Cocoon Problem
Date Tue, 23 May 2000 14:50:41 GMT
This wont work though if you are starting apache and tomcat as an NT service
and the Tomcat-Apache.conf file is created dynamicaly everytime

> -----Original Message-----
> From:	Fritz Thielemann [SMTP:fthielem@stahlnetz.com]
> Sent:	23 May 2000 14:56
> To:	tomcat-user@jakarta.apache.org
> Subject:	Re: Tomcat/Cocoon Problem
> 
> I was facing the same problem and asking how the tomcat-apache.conf will
> be
> created to include the xml handler fror apache.
> there was no answer but I fixed it by editing the tomcat-apache.conf
> manually
> before starting apache and add this two lines:
> 
> AddType text/xml .xml
> AddHandler jserv-servlet .xml
> 
> After changing this I was able to call *.xml via apache.
> 
> This could not be the right way because you have to script/awk/sed your
> tomcat-apache.conf in the rc-file after starting tomcat and before apache.
> There must be another way that tomcat passes the param from web.xml to
> tomcat-apache.conf.
> 
> Any comment
> 
> regards Fritz
> 
> Adam Bell schrieb:
> 
> > Hi Evryone.
> >
> > I have set up Cocoon, with Tomcat.  I am running Apache, and need it to
> > route xml requests through to the a particular directory in TOMCAT
> > (webapps/root)
> >
> > This translation from xml to html works for the files in the root
> directory,
> > but anything in a sub-directory it says it can't find.
> >
> > It seems that the association in Apache for xml files, only applies to
> those
> > within this root directory, and if there is a reference to a
> sub-directory
> > it returns to searching for it in its own htdocs folder.
> >
> > Running on Windows NT 4.0
> >
> > Thanks
> >
> > Adam
> >
> >
> --------------------------------------------------------------------------
> > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message