[opencms-dev] Non Root context and POST problems

Georgi Naplatanov gosho at oles.biz
Mon Aug 12 10:42:40 CEST 2013


Hi

in case of Tomcat 7, emptySessionPath="true" is not parameter of the 
connector anymore, you have to put it in tomcat/conf/context.xml, 
"Context" tag like this

<Context sessionCookiePath="/">

HTH

Best regards
Georgi


On 08/12/2013 08:10 AM, Chris Kruger wrote:
> Hi Folks,
>
> I run my opencms (v8.5.1) installation in a non root context. So
> connecting directly to tomcat my URIs all have /opencms/opencms/ � in
> them. Following the guide on the wiki
> http://www.opencms-wiki.org/wiki/Removing_/opencms/opencms_from_site_url I
>   attempted to remove this opencms URI substrings from web URLs. It
> works for GET requests but it seems NOT work when I try to POST data.
>
> My symptoms are:
>
> 1) Login to my workplace: the opencms log says login successful but I
> get redirected to the login page rather than getting the workplace open up.
> 2) Attempting to use my contact form always acts like a fresh GET,
> rather than a POST.
>
> I thought it was to do with ProxyPass directive causing confusing so I
> tried using AJP plugin and URL rewrite instead, but the problem
> persists. There is something I don't understand going on.
>
> I have read a number of threads regarding similar problems but I am
> still not clear on how to fix it. I have tried various combinations of
> vfs-prefix in opencms-importexport.xml, but I cannot get exactly the
> result I want. Which is opencms parts stripped from URL and working POST
>
> Regards,
>
> Chris Kruger
> @krugerheavyindustries.com <http://krugerheavyindustries.com/>
>
>
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>



More information about the opencms-dev mailing list