LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Apache, Tomcat, WebDAV

[ILUG] Apache, Tomcat, WebDAV

John Reilly jr at inconspicuous.org
Fri Sep 16 20:40:38 IST 2005


On Fri, 2005-09-16 at 18:14 +0100, Lars Hecking wrote:
>  I have set up a web server on RHEL3.0 with the standard apache2 that
>  comes with it, jakarta-tomcat-4.1.31/j2sdk1.4.2_08 and
>  jakarta-tomcat-connectors-1.2.14.1. WebDAV is enabled.

I haven't use apache2 & mod_jk, but I'd imagine the config is similar,
if not the same as, 1.3.  Also, I haven't use webdav with it, but some
of this may be useful.

> 
>  Everything works fine but for one feature: .jsp files cannot be modified
>  through WebDAV, there's always a "file not found" error. I found a solution
>  for mod_jk2 at
>  http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk2/davhowto.html
>  but mod_jk2 is deprecated, and I haven't been able to find the equivalent
>  solution for mod_jk ("Invalid command 'JkUriSet'" for my setup). Any ideas?

Have a look at the setup I described in
http://mail.linux.ie/pipermail/ilug/2004-October/019598.html   (search
in the page for workers.properties and read from there)

>  I have googled for the best part of the afternoon, and my understanding
>  of tomcat's directory structure is sketchy at best (which parts are
>  actually being used?).

Any part in particular you're wondering about.  You should start with
conf/server.xml.  In one of the Services thats defined, you need to have
a connector defined for AJP1.3 (which is the protocol that mod_jk uses).

e.g. 
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>


Notice that that port matches with the port defined in the
workers.properties.

John






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell