Forums / Install & configuration / webdav setup - virtual localhost / Comment6709
Petter Arneson
Tuesday 03 January 2006 4:22:47 am
Hi! This is one setup that works for me.I have set up a subdomain that uses port 85, so the website is reachable as well.
<VirtualHost xx.xx.xx.xx:85> <Directory /home/xx/domains/xx.com/public_html> Options FollowSymLinks Indexes ExecCGI AllowOverride None </Directory> ServerName www.webdav.xx.com ServerAlias www.webdav.xx.com webdav.xx.com ServerAdmin pa@vzt.no DocumentRoot /home/xx/domains/xx.com/public_html RewriteEngine On RewriteRule !\.(css|jar|js|html|htm|php)$ /home/xx/domains/xx.com/public_html/webdav.php CustomLog /var/log/httpd/domains/xx.com.85.webdav.bytes bytes CustomLog /var/log/httpd/domains/xx.com.85.webdav.log combined ErrorLog /var/log/httpd/domains/xx.com.85.webdav.error.log </VirtualHost>
www.vzt.no