  <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>perl &#8211; paologironi blog</title>
	<atom:link href="https://www.gironi.it/blog/tag/perl-it/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.gironi.it/blog</link>
	<description>Appunti sparsi di (retro) informatica, analisi dei dati, statistica, seo, e cose che cambiano</description>
	<lastBuildDate>Fri, 20 Sep 2024 13:11:30 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>un po&#8217; di redirect 301</title>
		<link>https://www.gironi.it/blog/un-po-di-redirect-301/</link>
					<comments>https://www.gironi.it/blog/un-po-di-redirect-301/#respond</comments>
		
		<dc:creator><![CDATA[paolo]]></dc:creator>
		<pubDate>Mon, 05 Sep 2011 09:16:24 +0000</pubDate>
				<category><![CDATA[sviluppo web]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[cold fusion]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[redirect 301]]></category>
		<guid isPermaLink="false">http://gironi.it/blog/2011/09/un-po-di-redirect-301/</guid>

					<description><![CDATA[questo più che un post è un memo. Invece di cercare tra i fogli il cheatsheet con i redirect 301 (e magari non trovarlo), oppure per risparmiarmi i 5 secondi della ricerca google, aggiungo questo post. Allora: con php &#60;? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.gironi.it/" ); ?&#62; con cold fusion &#60;cfheader &#8230; <a href="https://www.gironi.it/blog/un-po-di-redirect-301/" class="more-link">Leggi tutto<span class="screen-reader-text"> "un po&#8217; di redirect 301"</span></a>]]></description>
										<content:encoded><![CDATA[<p>questo più che un post è un memo. Invece di cercare tra i fogli il cheatsheet con i redirect 301 (e magari non trovarlo), oppure per risparmiarmi i 5 secondi della ricerca google, aggiungo questo post. Allora:</p>
<h2>con <strong>php</strong></h2>
<pre class="brush: xml; ruler: true;">&lt;?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.gironi.it/" );
?&gt;</pre>
<p><span id="more-134"></span></p>
<h2>con <strong>cold fusion</strong></h2>
<p><span style="color: #222222; font-family: arial, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> </span></p>
<pre class="brush: xml; ruler: true;">&lt;cfheader statuscode="301" statustext="Moved Permanently"&gt;
&lt;cfheader name="Location" value="http://www.gironi.it"&gt;
&lt;cfabort&gt;</pre>
<h2>con <strong>asp</strong></h2>
<pre class="brush: xml; ruler: true;">&lt;%@ Language=VBScript %&gt;
&lt;%
response.status="301 moved permanently"
Response.AddHeader "Location", "http://www.gironi.it"
%&gt;</pre>
<h2><strong>Meta http-equiv</strong></h2>
<pre class="brush: xml; ruler: true;">&lt;meta http-equiv="refresh" content="0;url=http://www.gironi.it" /&gt;</pre>
<h2>In <strong>Perl</strong></h2>
<pre class="brush: xml; ruler: true;">#!/usr/bin/perl      -w
use strict;
print "Status: 301 Moved Permanently\n";
print "Location: http://mia/pagina.htm\n\n";
exit;</pre>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gironi.it/blog/un-po-di-redirect-301/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
