[opencms-dev] On demand static export not working properly onWebsphere 6.1
Mathias Lin
mail at mathiaslin.com
Tue Jan 26 10:45:27 CET 2010
We also had this issue, only with auto-scaled thumbnails though, but in our
case it was due to the httpd configuration / rewrite rules (Apache+Tomcat).
We ended up with (esp. note first block):
[...]
# IMPORTANT! (Eventually leave out /opencms)
RewriteCond %{REQUEST_URI} ^/opencms/(export|resources)/.*$
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
RewriteRule .*
/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [PT,L]
RewriteCond %{REQUEST_URI} ^/system/login$
RewriteRule ^/system/login(.*)$ /opencms/opencms/system/login
[R,L]
ProxyPass /server-status !
# IMPORTANT! (Eventually leave out /opencms)
ProxyPass /opencms/resources/ !
ProxyPass /opencms/export/ !
[...]
Jordi Pedrerol wrote:
>
> Hi Tim,
>
>
>
> Im not using any web Server, just the Websphere 6.1 App Server against
> its
> default port 9080. After more testing the problem occurs only with text
> files and thumbnail images. With xml-pages and not scaled images the
> behaviour is the expected.
>
>
>
> If you need more information, please feel free to ask.
>
>
>
> Thank you for your help.
>
>
>
> Jordi Pedrerol
>
> Adequa Software
> C/ Còrsega 267, Principal 2a B
> Barcelona
> telf: 93.528.56.00
> http://www.adequa.cat
>
> _____
>
> De: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org]
> En nombre de Tim Daschner
> Enviado el: dimarts, 26 / gener / 2010 03:24
> Para: The OpenCms mailing list
> Asunto: Re: [opencms-dev] On demand static export not working properly
> onWebsphere 6.1
>
>
>
> Having run into similar problems, I feel that this might be something to
> do
> with your HTTP redirect statements. But cant say for sure based on the
> info
> you have provided. Do you use a web server in front of yout app server?
>
> On Sun, Jan 24, 2010 at 6:11 PM, Jordi Pedrerol
> <jordi.pedrerol at adequa.net>
> wrote:
>
> Hello,
>
>
>
> On demand static export does not work as expected on Websphere 6.1. The
> first time you request a resource that must be exported statically (for
> example a text file) the resource is exported to the real file system
> under
> the /export folder but the content of the resource is not returned to the
> browser (the normal behavior should be to export the resource to the real
> file system and return the content to the browser at the same time). This
> abnormal behaviour occurs on OpenCMS versions 6.2.3 and 7.5.2, so I supose
> it also occurs in all versions in between.
>
>
>
> Any kind of help for solving this issue would be appreciated.
>
>
>
>
>
> Thanks in advance.
>
>
>
> Jordi Pedrerol
>
> Adequa Software
> C/ Còrsega 267, Principal 2a B
> Barcelona
> telf: 93.528.56.00
> http://www.adequa.cat
>
-----
Mathias Lin
Skype: mathias.lin
http://www.mathiaslin.com
--
View this message in context: http://old.nabble.com/On-demand-static-export-not-working-properly-on-Websphere-6.1-tp27300687p27320109.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list