Feng Forum

Support => Feng Office 3 => : Dani October 11, 2015, 02:08:33 PM

: Direct URL link doesn't work
: Dani October 11, 2015, 02:08:33 PM
Hi,

I recently installed the new version of 3.3.0.4 and I found that everytime I copy the link pointing to a documment i.e  Direct URL:  fengoffice.mydomain.com/index.php?c=files&a=file_details&id=58 and paste it on a new tab, I get a blank page under overview tab.

This is very frustrating as I cant share links to documents. So far I have not found any bug related and I am quite lost now.  May  there be  any misconfiguration from my side? Has anyone noticed this behaviour? is there any fix or workaround?

Thanks in advance!
Dani Maller
: Re: Direct URL link doesn't work
: Dani October 20, 2015, 08:36:11 AM
Fixed, it was a CAS issue not a fengoffice problem. We fixed applying this rules in Apache:

RewriteCond context=
RewriteCond %{REQUEST_URI} !^/index.php(.*)$
RewriteRule ^/(.*)$ https://{HTTP_HOST}/index.php$1 [R=301,L]

This rule force the context page from fengoffice go through index.php, before in the CAS redirect was getting a index.html getting an error. Not sure why this redirect to index.html, but with the rule before we force to have a index.php

Thanks anyway!! :)
: Re: Direct URL link doesn't work
: conrado October 22, 2015, 06:00:30 PM
Thanks for the follow up and update, Dani!