Wednesday 27 May 2009 7:15:46 am
Hy, this is my (example) apache configuration:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName example.com
ServerAlias *.example.com
ServerAdmin admin@localhost.com
DocumentRoot /path/to/ezpublish
<Directory /path/to/ezpublish>
Options FollowSymLinks Indexes
AllowOverride All
</Directory>
</VirtualHost>
And this is the (extract) .htaccess:
RewriteEngine On
# example.com/webdav
RewriteCond %{REQUEST_URI} ^webdav
RewriteRule (.*) webdav.php [L]
# webdav.example.com
#RewriteCond %{HTTP_HOST} ^webdav
#RewriteRule (.*) webdav.php [L]
as you can see, i am able to call the webdav-interface either via
example.com/webdav
or
webdav.example.com
Both situations require to enable webdav in ezPublish-settings (see webdav.ini). When calling both sites with an webdav-client, i get the siteaccesses listed. When entering a siteaccess i am requested for a password.
in short: it works. Using apache on windows makes no difference. Chris EDIT: forgot to metion that the site is available via <i>http://example.com</i>, <i>www.example.com</i> and webdav is 'listening' on <i>webdav.example.com</i>...
Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613
|