cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Raman" <ara...@indiainfo.com>
Subject Re: url mapping not working..
Date Thu, 07 Dec 2000 14:35:14 GMT
but i am using it in conjuction with mod_jk and not mod_jserv..

Thanx
Anand
On Thu, 7 Dec 2000 14:20:01 -0000 
 Richard  Byrne <Richard.Byrne@sparza.com> wrote:
> did you do this bit on the install?
> 
> Next, if using Apache with Tomcat (which is recommended on a
> production
> server, since Tomcat standalone is not yet as efficient or robust -
> Apache
> is far more mature!) we need to tell Apache to forward the same
> partial
> pathnames to Tomcat. This is done by editing the tomcat .conf file
> (it's
> called tomcat-apache.conf if you're using Tomcat 3.1 and Apache
> 1.3.12) in
> your Apache setup. Add the following lines: 
> 
>    
>   Alias /cocoon $TOMCAT_HOME/webapps/cocoon
>  <Directory "$TOMCAT_HOME/webapps/cocoon">
>      Options Indexes FollowSymLinks
>  </Directory>
>  ApJServMount /cocoon /cocoon
>  AddType text/xml .xml
>  AddHandler jserv-servlet .xml
>  <Location /cocoon/WEB-INF/ >
>      AllowOverride None
>      deny from all
>  </Location>
>  
>   
>    
> 
> This tells Apache to direct .xml requests that come in under that
> partial
> path "/cocoon" to the directory under Tomcat
> ($TOMCAT_HOME/webapps/cocoon). 
> 
> see http://xml.apache.org/cocoon/install.html
> 
> Richard 
> 
> -----Original Message-----
> From: araman@indiainfo.com [mailto:araman@indiainfo.com]
> Sent: 07 December 2000 13:35
> To: cocoon-users@xml.apache.org
> Subject: url mapping not working..
> 
> 
> hi guys
> I am trying to integrate cocoon with tomcat and apache..
> Everything works fine when i try to access xml pages using tomcat
> standalone mode thru port 8080..
> 
> I later compiled mod_jk and successfully integrated apache with
> tomcat..
> 
> However now xml is being thrown to the client with out any xsl
> translation..
> 
> I checked up WEB-INF of my context and it had the url pattern
> matching
> element..
> 
> <servlet-mapping>
>  <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
>  <url-pattern>*.xml</url-pattern>
> </servlet-mapping>
> 
> Can any one tell me what i am missing..
> 
> I read thru the servlet spec too which mentioned that this kind of a
> maping is a extension mapping..
> 
> I am using 3.2 final tomcat along with apache 1.3.12 and cocoon 1.8
> 
> Awaiting ur speedy response..
> Regards
> Anand 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

----------------------------------------
http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!

Mime
View raw message