You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Bhide, Atul" <ab...@cybersource.com> on 2002/02/22 20:33:08 UTC
RH 7.2+Apache 1.3.22+JDK1.3.1_02+tomcat 4.0.2+cocoon 2.0.1+mod_jk
1.3 configuration problem
Hi,
I have a very peculiar problem with the following combination:
Red Hat 7.2
Apache 1.3.22
JDK1.3.1_02
tomcat 4.0.2
cocoon 2.0.1
mod_jk 1.3
I have got Apache working at http://localhost:80
I have got tomcat working at http://localhost:8180
I have got the Tomcat+Apache integration working.
I have Tomcat+Cocoon combination working.
I but I cannot get the Tomcat+Apache+Cocoon working.
Initially I did not have the Alias or <Directory/> entry in my
conf/mod_jk.conf file. Hence the server was unable to find the path
http://localhost/cocoon but it does find http://localhost/examples as the
mod_jk.conf contains entry for the examples path.
When I added the following entry in the mod_jk.conf instead of getting the
cocoon start page (as I do get when I do http://localhost:8180/cocoon), I
get the directory listing of the /var/tomcat4/webapps/cocoon directory.
#########################################################
# Auto configuration for the /cocoon context starts.
#########################################################
#
# The following line makes apache aware of the location of the /cocoon
context
#
Alias /cocoon "/var/tomcat4/webapps/cocoon"
<Directory "/var/tomcat4/webapps/cocoon">
Options Indexes FollowSymLinks
</Directory>
#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /cocoon/ ajp13
#
# The following line prohibits users from directly access WEB-INF
#
<Location "/cocoon/WEB-INF/">
AllowOverride None
deny from all
</Location>
#######################################################
# Auto configuration for the /cocoon context ends.
#######################################################
Any idea where I am going wrong?
Regards, Atul Bhide
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>