Forums / Developer / Apache2 and WebDAV (with Solution)

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