<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>https://wiki.gacq.com/index.php?action=history&amp;feed=atom&amp;title=Varnish</id>
		<title>Varnish - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gacq.com/index.php?action=history&amp;feed=atom&amp;title=Varnish"/>
		<link rel="alternate" type="text/html" href="https://wiki.gacq.com/index.php?title=Varnish&amp;action=history"/>
		<updated>2026-04-04T17:07:22Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>https://wiki.gacq.com/index.php?title=Varnish&amp;diff=2918&amp;oldid=prev</id>
		<title>Gacq: Página nueva: = Instalación =  == Desde las fuentes en Debian Lenny ==  &lt;pre&gt; apt-get install binutils gcc gcc-4.2 libc6-dev libgomp1 linux-libc-dev autoconf m4 make libncurses-dev wget http://ufp...</title>
		<link rel="alternate" type="text/html" href="https://wiki.gacq.com/index.php?title=Varnish&amp;diff=2918&amp;oldid=prev"/>
				<updated>2009-11-02T00:15:04Z</updated>
		
		<summary type="html">&lt;p&gt;Página nueva: = Instalación =  == Desde las fuentes en Debian Lenny ==  &amp;lt;pre&amp;gt; apt-get install binutils gcc gcc-4.2 libc6-dev libgomp1 linux-libc-dev autoconf m4 make libncurses-dev wget http://ufp...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Instalación =&lt;br /&gt;
&lt;br /&gt;
== Desde las fuentes en Debian Lenny ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install binutils gcc gcc-4.2 libc6-dev libgomp1 linux-libc-dev autoconf m4 make libncurses-dev&lt;br /&gt;
wget http://ufpr.dl.sourceforge.net/sourceforge/varnish/varnish-2.0.4.tar.gz&lt;br /&gt;
./configure;make;make install&lt;br /&gt;
ldconfig&lt;br /&gt;
mkdir /var/log/varnish&lt;br /&gt;
chown varnish:root /var/log/varnish/&lt;br /&gt;
./postinst&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;/etc/varnish/default.vcl&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
backend default {&lt;br /&gt;
.host = &amp;quot;127.0.0.1&amp;quot;;&lt;br /&gt;
.port = &amp;quot;8080&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sub vcl_recv {&lt;br /&gt;
    if ( (req.url ~ &amp;quot;^/pagina_exceptuada\.html&amp;quot;) ||&lt;br /&gt;
       (req.url ~ &amp;quot;^/pagina_exceptuada2\.html&amp;quot;) ) {&lt;br /&gt;
&lt;br /&gt;
       return (pass);&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   unset req.http.cookie;&lt;br /&gt;
   unset req.http.Authorization;&lt;br /&gt;
   return (lookup);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sub vcl_fetch {&lt;br /&gt;
    unset obj.http.set-cookie;&lt;br /&gt;
    set obj.ttl = 15m;&lt;br /&gt;
    return (deliver);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sub vcl_error {&lt;br /&gt;
    set obj.http.Content-Type = &amp;quot;text/html; charset=utf-8&amp;quot;;&lt;br /&gt;
    synthetic {&amp;quot;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
 &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;&amp;quot;} obj.status &amp;quot; &amp;quot; obj.response {&amp;quot;&amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;h1&amp;gt;Error &amp;quot;} obj.status &amp;quot; &amp;quot; obj.response {&amp;quot;&amp;lt;/h1&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;&amp;quot;} obj.response {&amp;quot;&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;h3&amp;gt;Guru Meditation on nodo2:&amp;lt;/h3&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;XID: &amp;quot;} req.xid {&amp;quot;&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;address&amp;gt;&lt;br /&gt;
       &amp;lt;a href=&amp;quot;http://www.varnish-cache.org/&amp;quot;&amp;gt;Varnish&amp;lt;/a&amp;gt;&lt;br /&gt;
    &amp;lt;/address&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;quot;};&lt;br /&gt;
return (deliver);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Integración con otros paquetes =&lt;br /&gt;
Para permitir que la sistemas de estadísticas como awstats continúen reflejando las visitas al sitio que no son registradas por el Apache ya que dichas solicitudes son atendidas directamente por el Varnish se configura el demonio &amp;quot;varnishncsa&amp;quot; que deja un log en un formato idéntico al usado por el apache. Este log se encuentra en /var/log/varnish/varnishncsa.log&lt;/div&gt;</summary>
		<author><name>Gacq</name></author>	</entry>

	</feed>