Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13637

Webdav doesn't honor ForceVirtualHost setting - doesn't work in such setup

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.0alpha
    • 3.10.1, 3.9.5, 4.0.1, 4.2.0, 4.3.0, 4.4.0
    • Legacy > WebDAV
    • None
    • Operating System: na
      PHP Version: 5
      Database and version: na
      Browser (and version): na

    Description

      Wrong initialization if eZSys subsystem:

      Is:
      eZSys::init( 'webdav.php' );

      Should be:
      eZSys::init( 'webdav.php', $ini->variable( 'SiteAccessSettings', 'ForceVirtualHost' ) == 'true' );

      like in index.php.

      Steps to reproduce

      Fresh install in such a setup that requires the ForceVirtualHost setting set to true (ie Lighttpd with fastcgi or fastcgi in general). Try to access the webdav - the eZSys gets wrongly initialized and consequently sets wrong requestURI (empty) rendering the webdav unusable.

      Attachments

        Activity

          People

            andre1 andre1
            mzbirka mzbirka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: