RewritingURL with Tomcat3.2.1

2001-05-21 Thread Lessault Jean-Luc
Hi all, I am using Tomcat 3.2.1 with Apache 1.3 and I have the following problem: I want to rewrite a path from a form like 'http://host:port/file.html' to something like 'http://host:port/ContextServlet/MyServletName?parameter=file.html'). (Note that the program works when i use

Re: RewritingURL with Tomcat3.2.1

2001-05-21 Thread sfarrell
cc: heops.comSubject: RewritingURL with Tomcat3.2.1

Re: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Valeriy Molyakov
/servlet-name url-pattern /file.html /url-pattern /servlet-mapping Best regards ! - Original Message - From: Lessault Jean-Luc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 21, 2001 11:33 AM Subject: RewritingURL with Tomcat3.2.1 Hi all, I am

RE: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Lessault Jean-Luc
Thanks but I already use servlet mapping. More preciasely my question is in which file I have to put the following instructions LoadModule rewrite_module module/mod_rewrite.dll IfModule mod_rewrite.c RewriteEngine On RewriteBase /ContextServlet/ RewriteRule ^file.html

RE: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Rob Ewaschuk
There is fairly good documentation of the mod_rewrite on the apache httpd website at http://httpd.apache.org/docs/misc/rewrite I believe you will need to have ^/file.html and not just ^file.html - the paths that are parsed include (I think) the leading slash. hth... -Rob : Rob Ewaschuk

Re: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Tim O'Neil
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...

Re: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Jan Labanowski
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

Re: RewritingURL with Tomcat3.2.1

2001-05-21 Thread Tim O'Neil
At 10:30 AM 5/21/2001 -0700, you 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... Ah... you have to put the url rewrite in the virtual server definition for ssl... nice.