[opencms-dev] 302 MOVED TEMPORARILY on OPENCMS V8 export
Tobias Herrmann
t.herrmann at alkacon.com
Tue Dec 6 12:23:30 CET 2011
Hi Hernan,
if you mark a resource for static export the proper link to that resource would look like this /opencms/export/sites/default/my-page.html. If you request this resource through it's dynamic URL /opencms/opencms/my-page.html then opencms redirects the browser to the static export URL of the resource
so it can be delivered directly from the file system.
If you use the cms:link tag for all links within your pages, URLs for exported resources should be generated correctly without any need for redirects.
Greetings, Tobias
--
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com -- http://www.opencms.org
Am 01.12.2011 17:12, schrieb HERNAN - TFSLA:
> Hi, anyone can help on this? :)
>
>
> HERNAN - TFSLA wrote:
>> Hi,
>>
>> I noticed a different behavior with OpenCms v8. When a file is exported,
>> I'm getting two requests.
>>
>> The first one is 302 Moved Temporarily and then the second is the url with
>> the /export/ on it.
>>
>> Is this normal or maybe a misconfiguration? Take a look to the following
>> screenshoot.
>>
>>
>> http://old.nabble.com/file/p32816339/Screen%2BShot%2B2011-11-10%2Bat%2B02.29.44.png
>> Screen+Shot+2011-11-10+at+02.29.44.png
>>
More information about the opencms-dev
mailing list