On Mon, 21 May 2001, Tim O'Neil wrote:
> Anyone have any problems with Apache's mod re-write
> and tomcat and ssl? Our web server seems to be completely
> ignoring the mod re-write rules when in ssl mode...
>
Make sure that your rewrite rules are within the SSL virtual server block.
<VirtualHost _default_:443>
......
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog /usr/local/apache_1.3.14/logs/rewrite_log
RewriteLogLevel 1
RewriteRule ^/ROOT/examples /examples [R]
....
</IfModule>
....
</VirtualHost>
Make sure that your modules are in the following order in httpd.conf
LoadModule jk_module libexec/mod_jk.so
....
LoadModule rewrite_module libexec/mod_rewrite.so
....
LoadModule ssl_module libexec/libssl.so
....
AddModule mod_jk.c
....
AddModule mod_rewrite.c
....
AddModule mod_ssl.c
Make sure that you do not have the AddModule mod_jk.c and LoadModule jk_module
in the mod_jk.conf file which you include at the end
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/