<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>El hilo del laberinto (Publicaciones sobre WebDAV)</title><link>https://blog.jcea.es/</link><description></description><atom:link href="https://blog.jcea.es/categories/webdav.xml" rel="self" type="application/rss+xml"></atom:link><language>es</language><lastBuildDate>Tue, 24 Mar 2026 14:02:09 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>¿Cómo monto mis páginas web de viajes? (II)</title><link>https://blog.jcea.es/posts/20160120-fotos_viajes.html</link><dc:creator>Jesús Cea Avión</dc:creator><description>&lt;div&gt;&lt;p&gt;Hace tiempo expliqué &lt;a class="reference external" href="https://blog.jcea.es/posts/20140820-geotagging_fotos.html"&gt;cómo montaba mis páginas webs de viajes&lt;/a&gt;. Hay algunos cambios en el año y
medio transcurrido:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.jcea.es/posts/20160120-fotos_viajes.html"&gt;Leer más…&lt;/a&gt; (quedan 10 minutos de lectura)&lt;/p&gt;&lt;/div&gt;</description><category>Código Fuente</category><category>EXIF</category><category>GPS</category><category>Imágenes</category><category>Python</category><category>WebDAV</category><category>Zope</category><guid>https://blog.jcea.es/posts/20160120-fotos_viajes.html</guid><pubDate>Tue, 19 Jan 2016 13:45:00 GMT</pubDate></item><item><title>Servir WebDAV tras un proxy HTTP/HTTPS</title><link>https://blog.jcea.es/posts/20150507-proxy_webdav.html</link><dc:creator>Jesús Cea Avión</dc:creator><description>&lt;div&gt;&lt;p&gt;&lt;a class="reference external" href="https://en.wikipedia.org/wiki/WebDAV"&gt;Web Distributed Authoring and Versioning&lt;/a&gt; (&lt;a class="reference external" href="https://en.wikipedia.org/wiki/WebDAV"&gt;WebDAV&lt;/a&gt;) es una extensión del protocolo &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"&gt;HTTP&lt;/a&gt; que añade
verbos adicionales para poder, por ejemplo, realizar cambios en el
servidor. Lo más evidente es almacenar o modificar ficheros, pero
los cambios pueden ser semánticos. Por ejemplo, modificaciones
coordinadas en documentos compartidos como un calendario o una
agenda telefónica.&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://httpd.apache.org/"&gt;Apache&lt;/a&gt; soporta &lt;a class="reference external" href="https://en.wikipedia.org/wiki/WebDAV"&gt;WebDAV&lt;/a&gt; y, de hecho, es la opción que yo
recomiendo en vez del vetusto &lt;a class="reference external" href="https://en.wikipedia.org/wiki/File_Transfer_Protocol"&gt;FTP&lt;/a&gt;, por ejemplo. Hay muchas
ventajas: atravesar cortafuegos con facilidad, cifrado integrado a
través de &lt;a class="reference external" href="https://en.wikipedia.org/wiki/HTTPS"&gt;HTTPS&lt;/a&gt; y, en general, unificación con toda la
infraestructura web.&lt;/p&gt;
&lt;p&gt;Una cosa que suelo hacer con frecuencia es dar acceso a
infraestructura protegida o unificar varios servidores web bajo un
árbol común. Esto lo hago a través del módulo &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Mod_proxy"&gt;mod_proxy&lt;/a&gt; de
&lt;a class="reference external" href="https://httpd.apache.org/"&gt;Apache&lt;/a&gt;. Básicamente &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Mod_proxy"&gt;mod_proxy&lt;/a&gt; puede hacer que
&lt;a class="reference external" href="http://www.example.com/servidorA"&gt;http://www.example.com/servidorA&lt;/a&gt; nos enseñe el contenido del
servidor &lt;strong&gt;A&lt;/strong&gt; y que &lt;a class="reference external" href="http://www.example.com/servidorB"&gt;http://www.example.com/servidorB&lt;/a&gt; nos muestre
el contenido del servidor &lt;strong&gt;B&lt;/strong&gt;. Hacer esto con &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Mod_proxy"&gt;mod_proxy&lt;/a&gt; es
trivial, rutina. El cliente web se conecta a
&lt;a class="reference external" href="http://www.example.com/"&gt;http://www.example.com/&lt;/a&gt;, indica la carpeta que quiere y &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Mod_proxy"&gt;mod_proxy&lt;/a&gt;
realiza una petición &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"&gt;HTTP&lt;/a&gt;/&lt;a class="reference external" href="https://en.wikipedia.org/wiki/HTTPS"&gt;HTTPS&lt;/a&gt; &lt;em&gt;por detrás&lt;/em&gt; al servidor
adecuado para completar la petición del cliente.&lt;/p&gt;
&lt;p&gt;Es importante, en estas circunstancias, que los enlaces que genera
el servidor &lt;strong&gt;A&lt;/strong&gt; sean o bien relativos o que se cambien para que
parezcan provenir de &lt;a class="reference external" href="http://www.example.com/servidorA"&gt;http://www.example.com/servidorA&lt;/a&gt;. En el
contexto de &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Mod_proxy"&gt;mod_proxy&lt;/a&gt; solemos usar la directiva &lt;a class="reference external" href="https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypassreverse"&gt;ProxyPassReverse&lt;/a&gt;.
Esta directiva nos permite interceptar las redirecciones &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"&gt;HTTP&lt;/a&gt;
generadas por el servidor &lt;strong&gt;A&lt;/strong&gt; para que parezcan provenir de
&lt;a class="reference external" href="http://www.example.com/servidorA"&gt;http://www.example.com/servidorA&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;¿Qué pasa con &lt;a class="reference external" href="https://en.wikipedia.org/wiki/WebDAV"&gt;WebDAV&lt;/a&gt;?. El problema es que &lt;a class="reference external" href="https://en.wikipedia.org/wiki/WebDAV"&gt;WebDAV&lt;/a&gt; nos devuelve
direcciones absolutas.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.jcea.es/posts/20150507-proxy_webdav.html"&gt;Leer más…&lt;/a&gt; (quedan 4 minutos de lectura)&lt;/p&gt;&lt;/div&gt;</description><category>Apache HTTP</category><category>WebDAV</category><guid>https://blog.jcea.es/posts/20150507-proxy_webdav.html</guid><pubDate>Thu, 07 May 2015 16:36:00 GMT</pubDate></item></channel></rss>