<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ebasso.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Apache%3A_Removendo_cookies</id>
	<title>Apache: Removendo cookies - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ebasso.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Apache%3A_Removendo_cookies"/>
	<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Apache:_Removendo_cookies&amp;action=history"/>
	<updated>2026-06-02T11:44:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://ebasso.net/wiki/index.php?title=Apache:_Removendo_cookies&amp;diff=1342&amp;oldid=prev</id>
		<title>Ebasso at 17:30, 25 January 2012</title>
		<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Apache:_Removendo_cookies&amp;diff=1342&amp;oldid=prev"/>
		<updated>2012-01-25T17:30:29Z</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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:30, 25 January 2012&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-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&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;  RewriteEngine On&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;  RewriteEngine On&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;  RewriteCond %{HTTP_COOKIE} ^.*NomeDoCookie.*$ [NC]&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;  RewriteCond %{HTTP_COOKIE} ^.*NomeDoCookie.*$ [NC]&lt;/div&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;  RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [CO=NomeDoCookie::.ebasso.net:Thu, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;01-Jan-1979 12:00:00 GMT&lt;/del&gt;:/]&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;  RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [CO=NomeDoCookie::.ebasso.net:Thu,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0&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 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;Salve e feche o arquivo&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;Salve e feche o arquivo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ebasso</name></author>
	</entry>
	<entry>
		<id>https://ebasso.net/wiki/index.php?title=Apache:_Removendo_cookies&amp;diff=1341&amp;oldid=prev</id>
		<title>Ebasso: New page: Removendo cookies usando o mod_rewrite.  Podemos fazer isso através da flag [CO].   A flag tem o seguinte formato:  &#039;&#039;&#039;[CO=NAME:VALUE:DOMAIN:lifetime:path:secure:httponly]&#039;&#039;&#039;  Exemplo:  V...</title>
		<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Apache:_Removendo_cookies&amp;diff=1341&amp;oldid=prev"/>
		<updated>2012-01-25T17:28:16Z</updated>

		<summary type="html">&lt;p&gt;New page: Removendo cookies usando o mod_rewrite.  Podemos fazer isso através da flag [CO].   A flag tem o seguinte formato:  &amp;#039;&amp;#039;&amp;#039;[CO=NAME:VALUE:DOMAIN:lifetime:path:secure:httponly]&amp;#039;&amp;#039;&amp;#039;  Exemplo:  V...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Removendo cookies usando o mod_rewrite.&lt;br /&gt;
&lt;br /&gt;
Podemos fazer isso através da flag [CO]. &lt;br /&gt;
&lt;br /&gt;
A flag tem o seguinte formato:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[CO=NAME:VALUE:DOMAIN:lifetime:path:secure:httponly]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Exemplo:&lt;br /&gt;
&lt;br /&gt;
Vá para o diretório &amp;#039;&amp;#039;&amp;#039;/etc/httpd/conf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cd /etc/httpd/conf&lt;br /&gt;
&lt;br /&gt;
Edite o arquivo &amp;#039;&amp;#039;&amp;#039;httpd.conf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Remova o comentário da linha&lt;br /&gt;
&lt;br /&gt;
 LoadModule rewrite_module modules/mod_rewrite.so&lt;br /&gt;
&lt;br /&gt;
Vá para o final do arquivo e adicione como abaixo&lt;br /&gt;
&lt;br /&gt;
 RewriteEngine On&lt;br /&gt;
 RewriteCond %{HTTP_COOKIE} ^.*NomeDoCookie.*$ [NC]&lt;br /&gt;
 RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [CO=NomeDoCookie::.ebasso.net:Thu, 01-Jan-1979 12:00:00 GMT:/]&lt;br /&gt;
&lt;br /&gt;
Salve e feche o arquivo&lt;br /&gt;
&lt;br /&gt;
Reinicie o http server&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; /etc/httpd/apachectl restart&lt;/div&gt;</summary>
		<author><name>Ebasso</name></author>
	</entry>
</feed>