Friday 09 April 2010 9:24:18 am
[Solved] Create another file in apache with name (optional): webdav.domain.com.conf (I repeat: that name is optional) The content is something like: ************************ <cut here>
<VirtualHost xxx.xxx.xxx.xxx:80>
SuexecUserGroup "#id" "#id"
ServerName webdav.domain.com
DocumentRoot /home/user/public_html
ErrorLog /var/log/virtualmin/webdav.domain.com_error_log
CustomLog /var/log/virtualmin/webdav.domain.com_access_log combined
ScriptAlias /cgi-bin/ /home/user/cgi-bin/
ScriptAlias /awstats /home/user/cgi-bin
DirectoryIndex webdav.php index.php
<Directory /home/user/public_html>
Options Indexes FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/user/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteRule . /webdav.php
<Files awstats.pl>
AuthName "domain.com statistics"
AuthType Basic
AuthUserFile /home/user/.awstats-htpasswd
require valid-user
</Files>
Alias /dav /home/user/public_html
<Location /dav>
DAV On
AuthType Basic
AuthName domain.com
AuthUserFile /home/user/etc/dav.digest.passwd
Require valid-user
Satisfy All
RewriteEngine off
</Location> </VirtualHost> *********************<cut here> The interesting part is: RewriteRule . /webdav.php webdav.domain.com must be reachable, so, must be defined in DNS. Then, in konqueror: webdav://webdav.domain.com ask for username and password and show the siteaccess folder of my ezpublish site.
.·. .·. .·. .·. .·. .·. .·.
http://www.softwarelibre.com.ve/
|