[opencms-dev] UrlRewriteFilter: Blank Page after Editor Closing

Peter Birchmeier peterbirchmeier at hotmail.com
Thu Oct 6 21:34:13 CEST 2005

I did some tests and found a work around:
all HttpServletResponse-wrapper references in the main 
UrlRewriteFilter-class should be replaced by the original 
HttpServletResponse-object... see: 

OpenCms seems to be very sensitive concerning encoding the 
HttpServletResponse's url.

>From: "Peter Birchmeier" <peterbirchmeier at hotmail.com>
>Reply-To: The OpenCms mailing list <opencms-dev at opencms.org>
>To: opencms-dev at opencms.org
>Subject: [opencms-dev] UrlRewriteFilter: Blank Page after Editor Closing
>Date: Thu, 06 Oct 2005 13:15:51 +0200
>Hi all,
>I have a very strange problem when using the tuckey-UrlRewriteFilter. 
>Everything seems fine except the closing of editors. I can load any file 
>type to editors, but after closing/saving&closing I simply get a blank 
>page. My assumption is that is has something to do with the 
>sendForward-method of the CmsWorkplace-class. Maybe OpenCms does a forward 
>which is not "common" in the sense, that the forward request is not handled 
>by a filter class inside a appcontext.
>Maybe anybody has an idea ?
>here my configurations:
>i changed httpd.conf from
>   RewriteEngine on
>   RewriteCond %{REQUEST_URI} !^/resources/.*$
>   RewriteCond %{REQUEST_URI} !^/export/.*$
>   RewriteCond %{REQUEST_URI} !^/opencms/.*$
>   RewriteRule ^/(.*)$ /opencms/$1
>   RewriteRule ^/(.*)$ http://ttcthalwil.localhost:8081/$1 [P]
>   ProxyPassReverse / http://ttcthalwil.localhost:8081/
>   ProxyPass		/	http://ttcthalwil.localhost:8081/
>   ProxyPassReverse	/	http://ttcthalwil.localhost:8081/
>and the UrlRewriteFilter configuration is set to
>	<rule>
>		<condition type="request-uri" 
>		<condition type="request-uri" 
>		<condition type="request-uri" 
>		<from>^/(.*)$</from>
>		<to>/opencms/$1</to>
>	</rule>
>thanks for any hints,
>kind regards, Peter
>Behalten Sie Ihre Hotmails, den Messenger und die Suchfunktionen stets im 
>Auge! http://toolbar.msn.ch?&DI=165&XAPID=2170
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit

So können Sie zu jeder Zeit die besten Suchfunktionen nutzen - die MSN 
Toolbar. http://toolbar.msn.ch?&DI=165&XAPID=2170

More information about the opencms-dev mailing list