-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric,

Eric B. wrote:
> I couldn't find
> any binaries for 1.2.25 compiled for http 2.0.52 - running CentOS4 and the
> latest httpd is 2.0.52-32 - would any binaries later than 1.2.19 work on
> that build?

Dude, just build your own. Here are the steps to installing a binary:

$ wget http://../bin/mod_jk-1.2.25.so
$ cp mod_jk-1.2.25.so /usr/lib/apache2-extramodules

Here are the steps to building and installing from source:

$ wget http://.../src/tomcat-connectors-1.2.25.tar.gz
$ tar xzf tomcat-connectors-1.2.25.tar.gz
$ cd tomcat-connectors-1.2.25/native
$ ./configure --with-apxs=/path/to/apxs
$ make
$ cp apache-2.0/mod_jk.so /usr/lib/apache2-extramodules/mod_jk-1.2.25.so

Done! That was easy! No worries about waiting for the perfect binary to
come out 'cause you can just build your own!

> Can I customize the error page on a per mount basis by creating a
> .htaccess file in my /tomcat/ directory within my httpd file workspace?

Nope: you've mapped the entire URL space into Tomcat, so when Tomcat
isn't working, Apache won't even look. What you ought to do IMO is only
map things you actually need. Something like this:

Alias /tomcat /path/to/tomcat/webapps/ROOT (or whatever)
<Directory "/path/to/tomcat/webapps/ROOT">
    Order allow,deny
    Allow from all

    <Files ".htaccess">
        Allow deny,allow
        Deny from all
    </Files>
</Directory>
JkMount /tomcat/*.jsp worker1
JkMount /tomcat/j_security_check worker1
... others ...


Remember to block access to all of your WEB-INF directories, etc. since
Tomcat won't be protecting you at this point.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5q2q9CaO5/Lv0PARAoEtAKCL3DBdonwzhIAQwnrS+Yf1USPJRgCfddGm
sqUnHVLI0l99ctB+utotERU=
=7CMK
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to