Forums / Install & configuration / Webdav access using https and no dedicated virtual host

Webdav access using https and no dedicated virtual host

Author Message

Mathieu Peltier

Thursday 30 September 2010 7:19:57 am

Hi,
I would to use ez publish (4.4.0) using https with one IP only, so I cannot
use dedicated virtual host for webdav like webdav.example.org and I would
like to use instead:
https://www.example.org/ : public site
https://www.example.org/webdav/ : webdav site
Is it possible? Could you point me to Apache
configuration sample?
thanks,
Mathieu

Romeo Antony

Tuesday 05 October 2010 11:55:11 am

for Apache
configuration settings for virtualhost set up, following link may help you.

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Installation/Virtual-host-setup

Mathieu Peltier

Monday 11 October 2010 2:22:45 am

Hi,
Thanks, I was able to install ezpublish and webdav at:
https://www.example.org
https://webdav.example.org
using the RewriteCond directive and a wildcard certificate for *.example.org.

...
RewriteCond %{HTTP_HOST} ^webdav\..*
RewriteRule ^(.*) /webdav.php [L]
...

DocumentRoot /path/to/ezpublish
ServerName www.example.org
ServerAlias webdav.example.org
..

Btw, I have just found that it is possible to use multiple apache vhosts on the same ip and port since Apache 2.2.12.
http://daniel-lange.com/archives/2-Multiple-Apache-VHosts-on-the-same-IP-and-port.html
Mathieu