[opencms-dev] url redirect for module resources

Rod Thorburn rthorburn at pav.com
Wed Jun 11 21:37:01 CEST 2003


It is possible to 'hide' the directory structure / url path to module
resources in opencms5.0.0 . 

For example, if I have images in a directory such as
mysite/opencms/opencms/system/modules/org.my.site/resources/myimage.gif ,
can I configure a redirect in opencms to
mysite/opencms/opencms/resources/myimage.gif ? 

My motivation here is that I consider everything under the /system/
directory to be non-public and ideally I would like to lock everything away
below /system/ by restricting access to a limited IP address range (of
course the opencms servlet still has access to the files / resources in the
module itself).

The redirect parameters  redirect.1=/resources/
	
redirectlocation.1=/${WEB_APP_NAME}/system/modules/org.my.site/resources/

in opencms.properties doesn't appear to have any affect whatsoever. 

Any comments / advice would be appreciated.

NOTICE: The information contained in this electronic mail message and any
attachments is confidential to Pavilion Technologies, Inc. or one of its
subsidiaries and may contain proprietary information or be legally
privileged. This message and any attachments are intended only for the
personal and confidential use of the designated recipient(s). If you are not
the intended recipient or an agent responsible for delivering it to the
intended recipient, you are hereby notified that you have received this
message in error, and that any review, dissemination, distribution or
copying of this message and any attachments is unauthorised and strictly
prohibited. If you have received this message in error, please notify me
immediately by telephone and electronic mail, and delete this message, any
attachments, and all copies thereof. Thank you very much.



More information about the opencms-dev mailing list