Forums / Developer / Apache2 and WebDAV (with Solution)

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Apache2 and WebDAV (with Solution)

Author Message

Sergey Shishkin

Wednesday 16 August 2006 1:27:05 am

BUG 8834: http://ez.no/bugs/view/8834

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"]