How do I serve dynamic WebDAV directory listings using Apache

Posted by Jack Douglas on Pro Webmasters See other posts from Pro Webmasters or by Jack Douglas
Published on 2011-11-19T11:19:17Z Indexed on 2011/11/19 18:15 UTC
Read the original article Hit count: 545

Filed under:
|

I can use mod_rewrite to redirect /dynamic.php/xyz.php to /dynamic.php and then server different content for xyz.php using $_SERVER - where xyz.php is any arbitrary filename requested by a client. No problem so far.

When a client connects to my WebDAV server they can list the contents of a directory, eg / or /dynamic.php/ - how do I intercept this request so I can dynamically generate a list of available files for the client (which requests this list using PROPFIND)?

© Pro Webmasters or respective owner

Related posts about apache

Related posts about dynamic