[opencms-dev] Programmatic login: No direct edit

Roman-Uhlig roman.uhlig at maxity.de
Tue Jul 5 18:22:25 CEST 2011


EDIT:
i was wrong, it's not working with the /sites/default context as well. In
fact I tried it on a different OpenCms server, where it is working with
/sites/default. So the config of the server may be the problem. We are
working with Tomcat connectors and remove /opencms/opencms like this:

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/opencms/opencms/?.*
RewriteCond %{REQUEST_URI} !^/opencms/export/?.*
RewriteCond %{REQUEST_URI} !^/opencms/resources/?.*
RewriteCond %{REQUEST_URI} !^/opencms/webdav/?.*
RewriteRule (.*)$ /opencms/opencms%{REQUEST_URI} [PT]
jkMount /* ajp_kv3

Inside opencms-system.xml we do:

<vfs-prefix/>

(instead of <vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>)

Still, everything is working fine when logging in through the workplace.


-- 
View this message in context: http://old.nabble.com/Programmatic-login%3A-No-direct-edit-tp31998077p31998264.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list