Problem using default pages in Experience Manager

15

1

We have discovered that when we use the URLs without filenames in our web application, that is, using the default filenames of the server (welcome file list in Tomcat), Experience Manager doesn't work properly, as the temporary files with local changes don't appear in the file system.

Has anybody faced this problem before?

Raúl Escudero

Posted 2013-02-28T12:42:50.830

Reputation: 3 360

Interesting one. I guess linking is failing to determine the page URI because the URLs don't match. I can't really see an easy way out. – Nuno Linhares – 2013-02-28T14:16:55.553

Answers

11

I have seen a similar issue to this in an IIS based .NET application - to work around it I wrote an HTTPModule which detected directory requests and re-wrote them to

 ../path/index.aspx

This module is only installed on the staging server for obvious reasons. You may be able to write similar functionality as a Java Filter to work around the problem, although I suspect this is a bug, and you should submit a ticket to customer support.

Chris Summers

Posted 2013-02-28T12:42:50.830

Reputation: 7 657

Yes I have done a java servlet filter with a similar workaround, looping through the welcome file list but I think it's not too elegant, and I've submitted a ticket to Tridion. Thanks – Raúl Escudero – 2013-02-28T15:49:26.947

I agree - it is not elegant, but I can't think of a better work around - Good luck with the support request – Chris Summers – 2013-02-28T16:00:16.083

3

This scenario is totally covered by hotfix CD_2011.1.1.84669. You only need to create your own claim processor which, in case of requests for '/' (or whatever your path is), sets the following claims: 'taf:session:preview:request:full_url' to '/index.jsp' (or whatever your welcome file is) and 'taf:session:preview:request:real_path' to '<webroot>\index.jsp'.

Daniel Neagu

Posted 2013-02-28T12:42:50.830

Reputation: 1 199

But, that hotfix is not available yet, no? – Raúl Escudero – 2013-03-14T07:56:59.217

You are right. It was released a week ago. You need to contact Customer Support to make sure they make it available for you. – Daniel Neagu – 2013-03-14T08:11:00.777