<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ro">
	<id>https://wiki.dexonline.ro/index.php?action=history&amp;feed=atom&amp;title=Revive</id>
	<title>Revive - Revizia istoricului</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dexonline.ro/index.php?action=history&amp;feed=atom&amp;title=Revive"/>
	<link rel="alternate" type="text/html" href="https://wiki.dexonline.ro/index.php?title=Revive&amp;action=history"/>
	<updated>2026-05-15T05:35:21Z</updated>
	<subtitle>Istoricul versiunilor pentru această pagină din wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.dexonline.ro/index.php?title=Revive&amp;diff=1106&amp;oldid=prev</id>
		<title>Cătălin.Frâncu la 9 septembrie 2015 15:43</title>
		<link rel="alternate" type="text/html" href="https://wiki.dexonline.ro/index.php?title=Revive&amp;diff=1106&amp;oldid=prev"/>
		<updated>2015-09-09T15:43:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ro&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versiunea anterioară&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versiunea de la data 9 septembrie 2015 18:43&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Linia 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Probleme între Varnish, OpenX și GeoIP ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Probleme între Varnish, OpenX și GeoIP ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Această problemă nu mai există. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DEX online &lt;/del&gt;este configurat să acceseze OpenX direct pe portul 8080, deci nu mai trece deloc prin Varnish.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Această problemă nu mai există. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''Dexonline'' &lt;/ins&gt;este configurat să acceseze OpenX direct pe portul 8080, deci nu mai trece deloc prin Varnish.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;del&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;del&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff::1.12:old-871:rev-1106 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cătălin.Frâncu</name></author>
	</entry>
	<entry>
		<id>https://wiki.dexonline.ro/index.php?title=Revive&amp;diff=871&amp;oldid=prev</id>
		<title>Cătălin.Frâncu la 16 aprilie 2014 15:33</title>
		<link rel="alternate" type="text/html" href="https://wiki.dexonline.ro/index.php?title=Revive&amp;diff=871&amp;oldid=prev"/>
		<updated>2014-04-16T15:33:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ro&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Versiunea anterioară&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versiunea de la data 16 aprilie 2014 18:33&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Linia 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linia 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Probleme între Varnish, OpenX și GeoIP ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Probleme între Varnish, OpenX și GeoIP ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Această problemă nu mai există. DEX online este configurat să acceseze OpenX direct pe portul 8080, deci nu mai trece deloc prin Varnish.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;del&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;În Varnish nu dorim să cache-uim nimic legat de OpenX, deci în mod normal în &amp;lt;tt&amp;gt;/etc/varnish/default.vcl&amp;lt;/tt&amp;gt; vrem să returnăm &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt; pentru orice domenii în afară de &amp;lt;tt&amp;gt;dexonline.ro&amp;lt;/tt&amp;gt; și &amp;lt;tt&amp;gt;m.dexonline.ro&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;În Varnish nu dorim să cache-uim nimic legat de OpenX, deci în mod normal în &amp;lt;tt&amp;gt;/etc/varnish/default.vcl&amp;lt;/tt&amp;gt; vrem să returnăm &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt; pentru orice domenii în afară de &amp;lt;tt&amp;gt;dexonline.ro&amp;lt;/tt&amp;gt; și &amp;lt;tt&amp;gt;m.dexonline.ro&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/del&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;del&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pe de altă parte, pluginul de geoip din OpenX obține țara clientului din &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; (în cazul în care folosim baza de date flat file a lui OpenX) sau &amp;lt;tt&amp;gt;GEOIP_COUNTRY_CODE&amp;lt;/tt&amp;gt; (în cazul în care folosim trucul de la punctul anterior). Dacă Varnish vede domeniul &amp;lt;tt&amp;gt;openx.dexonline.ro&amp;lt;/tt&amp;gt; și returnează &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt;, atunci serverul OpenX va primi &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; = 127.0.0.1 și nu va ști care este țara.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pe de altă parte, pluginul de geoip din OpenX obține țara clientului din &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; (în cazul în care folosim baza de date flat file a lui OpenX) sau &amp;lt;tt&amp;gt;GEOIP_COUNTRY_CODE&amp;lt;/tt&amp;gt; (în cazul în care folosim trucul de la punctul anterior). Dacă Varnish vede domeniul &amp;lt;tt&amp;gt;openx.dexonline.ro&amp;lt;/tt&amp;gt; și returnează &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt;, atunci serverul OpenX va primi &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; = 127.0.0.1 și nu va ști care este țara.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/del&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;del&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Este deci important ca în &amp;lt;tt&amp;gt;default.vcl&amp;lt;/tt&amp;gt; să setăm headerul &amp;lt;tt&amp;gt;X-Forwarded-For&amp;lt;/tt&amp;gt; înainte de a returna &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt;. Nu înțeleg exact de ce, dar atunci când facem asta, Varnish setează și &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; corect.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Este deci important ca în &amp;lt;tt&amp;gt;default.vcl&amp;lt;/tt&amp;gt; să setăm headerul &amp;lt;tt&amp;gt;X-Forwarded-For&amp;lt;/tt&amp;gt; înainte de a returna &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt;. Nu înțeleg exact de ce, dar atunci când facem asta, Varnish setează și &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; corect.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/del&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff::1.12:old-711:rev-871 --&gt;
&lt;/table&gt;</summary>
		<author><name>Cătălin.Frâncu</name></author>
	</entry>
	<entry>
		<id>https://wiki.dexonline.ro/index.php?title=Revive&amp;diff=711&amp;oldid=prev</id>
		<title>Cătălin.Frâncu: Pagină nouă: = Configurația ad serverului Revive (fost OpenX) =  Până în martie 2012 am folosit [http://adserver.openx.org versiunea ''community hosted'' a lui OpenX]. Aceasta făcea prea m...</title>
		<link rel="alternate" type="text/html" href="https://wiki.dexonline.ro/index.php?title=Revive&amp;diff=711&amp;oldid=prev"/>
		<updated>2014-02-03T17:00:35Z</updated>

		<summary type="html">&lt;p&gt;Pagină nouă: = Configurația ad serverului Revive (fost OpenX) =  Până în martie 2012 am folosit [http://adserver.openx.org versiunea &amp;#039;&amp;#039;community hosted&amp;#039;&amp;#039; a lui OpenX]. Aceasta făcea prea m...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pagină nouă&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Configurația ad serverului Revive (fost OpenX) =&lt;br /&gt;
&lt;br /&gt;
Până în martie 2012 am folosit [http://adserver.openx.org versiunea ''community hosted'' a lui OpenX]. Aceasta făcea prea multe prostii și am instalat [http://openx.dexonline.ro propria noastră copie]. Instalarea este în &amp;lt;tt&amp;gt;/var/www/openx&amp;lt;/tt&amp;gt;. Ulterior, OpenX s-a transformat în [http://www.revive-adserver.com/ Revive]. Am migrat la Revive în decembrie 2013.&lt;br /&gt;
&lt;br /&gt;
'''Notă:''' nu am verificat dacă restul acestei pagini se mai aplică pentru Revive sau ținea doar de OpenX.&lt;br /&gt;
&lt;br /&gt;
== OpenX și GeoIP ==&lt;br /&gt;
&lt;br /&gt;
Pentru unele campanii este important ca modulul GeoIP să meargă, cel puțin la nivel de țară. OpenX oferă numai propriul lor sistem de geotargeting, bazat pe o bază de date „flat-file”, ceea ce este cam lent (e un fișier de 1.3 MB). O variantă mai bună este să folosim modulul geoip pentru apache2. Din păcate, pentru a obține asta a trebuit să modific de mână un fișier al lui OpenX. Vezi [http://stackoverflow.com/questions/3710235/openx-and-geotargeting-problem această soluție].&lt;br /&gt;
&lt;br /&gt;
* Editează &amp;lt;tt&amp;gt;/var/www/openx/plugins/geoTargeting/oxMaxMindGeoIP/oxMaxMindGeoIP.delivery.php&amp;lt;/tt&amp;gt;&lt;br /&gt;
* Caută comentariul semnat „by cata”&lt;br /&gt;
&lt;br /&gt;
== Probleme între Varnish, OpenX și GeoIP ==&lt;br /&gt;
&lt;br /&gt;
În Varnish nu dorim să cache-uim nimic legat de OpenX, deci în mod normal în &amp;lt;tt&amp;gt;/etc/varnish/default.vcl&amp;lt;/tt&amp;gt; vrem să returnăm &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt; pentru orice domenii în afară de &amp;lt;tt&amp;gt;dexonline.ro&amp;lt;/tt&amp;gt; și &amp;lt;tt&amp;gt;m.dexonline.ro&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Pe de altă parte, pluginul de geoip din OpenX obține țara clientului din &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; (în cazul în care folosim baza de date flat file a lui OpenX) sau &amp;lt;tt&amp;gt;GEOIP_COUNTRY_CODE&amp;lt;/tt&amp;gt; (în cazul în care folosim trucul de la punctul anterior). Dacă Varnish vede domeniul &amp;lt;tt&amp;gt;openx.dexonline.ro&amp;lt;/tt&amp;gt; și returnează &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt;, atunci serverul OpenX va primi &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; = 127.0.0.1 și nu va ști care este țara.&lt;br /&gt;
&lt;br /&gt;
Este deci important ca în &amp;lt;tt&amp;gt;default.vcl&amp;lt;/tt&amp;gt; să setăm headerul &amp;lt;tt&amp;gt;X-Forwarded-For&amp;lt;/tt&amp;gt; înainte de a returna &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt;. Nu înțeleg exact de ce, dar atunci când facem asta, Varnish setează și &amp;lt;tt&amp;gt;REMOTE_ADDR&amp;lt;/tt&amp;gt; corect.&lt;/div&gt;</summary>
		<author><name>Cătălin.Frâncu</name></author>
	</entry>
</feed>