[opencms-dev] Re: Static content mapping OpenCMS
Andreas Schouten
Andreas.Schouten at framfab.de
Tue Aug 14 17:44:47 CEST 2001
Hi Jeroen,
you can switch on the redirect again (I have done it for /pics/ you can do
it the same for /download/). Add these lines to your opencms.properties:
#
# Redirect parameters
########################
redirect.0 = /pics/
redirectlocation.0 = /opencms/pics/
I will add the redirects for /pics/ and /download/ as default to the
opencms.properties. In the next release they will be set again.
How the redirect works:
If a reqeust in opencms fits a redirect-entry (/pics/opencms.gif will fit
redirect.0) then the request will be redirected to the corresponding
redirectlocation (in this example to /opencms/pics/opencms.gif). If you like
you can specify another server for the rediorectlocations (e.g:
redirectlocation.0 = http://www.myserver.com/opencms/pics/).
Regards,
Andreas
-----Ursprüngliche Nachricht-----
Von: Jeroen Habets
Gesendet: Montag, 13. August 2001 14:37
An: Andreas Schouten
Betreff: Static content mapping OpenCMS
Hi Andreas,
In the old versions of OpenCMS, static content like pictures were linked to
an mapped directory in the
apache's webroot.
I believe this still works for /system/pics but it definately doesn't for
Root Folder/pics in OpenCMS.
Is there something I can do to restore this functionality?
Jeroen
More information about the opencms-dev
mailing list