Date: Tue, 19 Mar 2024 07:17:04 +0000 (UTC) Message-ID: <1253515152.19501.1710832624963@change.sos-berlin.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_19500_849680445.1710832624963" ------=_Part_19500_849680445.1710832624963 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Here you find an example for a WebDAV configuration in Apache that is us= ed for YADE file transfers.
<Virt= ualHost *:80> ServerAdmin webmaster@sos-berlin.com ServerName homer.sos ServerAlias homer.sos =20 # don't loose time with IP address lookups =09HostnameLookups Off =09# needed for named virtual hosts =09UseCanonicalName Off =09# configures the footer on server-generated documents =09 ServerSignature On Alias /jade /tmp/test/jade =20 =09<Directory /tmp/test/jade/ > Options Indexes MultiViews AllowOverride None Order allow,deny allow from all </Directory> =20 <Location /jade > DAV On AuthType Basic AuthName "webdav" AuthUserFile /srv/www/passwd.dav Require valid-user =20 ErrorDocument 400 default =09 ErrorDocument 401 default =09 ErrorDocument 403 default =09 ErrorDocument 404 default =09 ErrorDocument 405 default =09 ErrorDocument 408 default =09 ErrorDocument 410 default =09 ErrorDocument 411 default =09 ErrorDocument 412 default =09 ErrorDocument 413 default =09 ErrorDocument 414 default =09 ErrorDocument 415 default =09 ErrorDocument 500 default =09 ErrorDocument 501 default =09 ErrorDocument 502 default =09 ErrorDocument 503 default =09 ErrorDocument 506 default =09</Location> =20 </VirtualHost> DAVLockDB /var/lib/dav/lockdb
default
in the WebDAV location or you remove all <=
em>ErrorDocument in the httpd.conf.
Change the <Directory> element of the above configuration= so that exclusively the proxy has access to the WebDAV location:
= # allow only from proxy server 192.11.0.222=20 <Directory /tmp/test/jade/ > Options Indexes MultiViews AllowOverride None Order allow,deny allow from 192.11.0.222 </Directory>
Where 192.11.0.222 is the IP address of the proxy server.