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

Apache2, WebDAV and variable $_SERVER["SCRIPT_URL"]

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.1, 4.1.0alpha1
    • 4.0.0
    • Misc
    • None
    • Version: 3.6., 3.7., 3.8.*
      PHP Version: PHP V4.4.*
      Webserver: Apache2
      Database: MySQL

    Description

      The class eZWebDAVContentServer uses a variable $_SERVER["SCRIPT_URL"].

      I have collided that in web server Apache2 there is no such variable in array $_SERVER.


      Solution.
      There are two cases:
      with redirections (without index.php): using $_SERVER["REDIRECT_URL"]
      without redirections (with index.php): using $_SERVER["PHP_SELF"]

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            alfait alfait
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: