Hi! On 10/01/2008 01:06 PM Michael Buisson wrote: > Hi, > I'm new to eZ Components, and are trying to get a simple WebDav Server > serving up files from the file system. > Just wondering if there are any more detailed examples for WebDav? - I tried > working through > http://ezcomponents.org/docs/api/trunk/introduction_Webdav.html but think > I've missed something as the page just hangs when I try to go to it.
> I put this code /var/www/html/webdavserver.php : > $server = ezcWebdavServer::getInstance(); > $server->configurations->pathFactory = new ezcWebdavBasicPathFactory( > 'http://xyz.abc.com/backend/' ); - also tried with this line commented > $backend = new ezcWebdavFileBackend(dirname( __FILE__ ) . '/backend'); > $server->handle( $backend ); Looks like the docs were not re-generated since I fixed this bug in the tutorial. Please find the corrected version for setting the basic path factory here: http://svn.ez.no/svn/ezcomponents/trunk/Webdav/docs/tutorial/basic_path_factory.php > I put this in Apache's httpd.conf: > #Rewrite every request to webdavserver.php > RewriteRule ^(.*) /var/www/html/webdavserver.php > > When I go to 'http://xyz.abc.com/backend/ it just hangs. I know the request > is executing webdavserver.php . > > Have I gone about this the correct way or am I missing something? Are there > any other examples? The rest looks good, at a first glance. HTH, Toby -- Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer [EMAIL PROTECTED] | eZ Systems AS | ez.no -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
