--- 122
+++ 123
@@ -52,10 +52,27 @@
      */
     protected function getSiteAccessIni()
     {
+        /*
+         * Beginning of patch : if in host_uri make the mapping to find real siteaccess
+         */
+        $realSiteAccess = false;
         if ( $this->destinationSiteAccessIni === null )
         {
-            $this->destinationSiteAccessIni = eZINI::getSiteAccessIni( $this->destinationSiteAccess, 'site.ini' );
+            $globalSiteIni = eZINI::instance('site.ini');
+            foreach( $globalSiteIni->variable('SiteAccessSettings', 'HostURIMatchMapItems') as $map )
+            {
+                $explodedMap = explode(';',$map);
+                if ( $explodedMap[1] == $this->destinationSiteAccess )
+                {
+                    $realSiteAccess = $explodedMap[2];
         }
+            }
+            if ( !$realSiteAccess )
+            {
+                $this->destinationSiteAccess;
+            }
+            $this->destinationSiteAccessIni = eZINI::getSiteAccessIni( $realSiteAccess, 'site.ini' );
+        }
         return $this->destinationSiteAccessIni;
     }
