15

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?

  • 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 Feb 28 '13 at 14:16
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.

  • 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 Feb 28 '13 at 15:49
  • I agree - it is not elegant, but I can't think of a better work around - Good luck with the support request – Chris Summers Feb 28 '13 at 16:00
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'.

  • But, that hotfix is not available yet, no? – Raúl Escudero Mar 14 '13 at 7:56
  • 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 Mar 14 '13 at 8:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.