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 ); 
 
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?
 
Thanks,
Michael
 
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to