<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[apache] redirect verso w*w.sito.it invece che sito.it]]></title><description><![CDATA[<p dir="auto">Salve,<br />
vorrei che se uno si collega a <a href="http://sito.it" rel="nofollow ugc">sito.it</a> venga reindirizzato a w<em><a href="http://w.sito.it" rel="nofollow ugc">w.sito.it</a> e se anche si collega a w</em><a href="http://w.sito.it/index.php" rel="nofollow ugc">w.sito.it/index.php</a> venga reindirizzato a w*<a href="http://w.sito.it" rel="nofollow ugc">w.sito.it</a><br />
come posso farlo?<br />
ps: ho pieni diritti sul server in questione.</p>
]]></description><link>https://dev.connect.gt/topic/83185/apache-redirect-verso-w-w-sito-it-invece-che-sito-it</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 13:29:37 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/83185.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Sep 2008 12:02:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [apache] redirect verso w*w.sito.it invece che sito.it on Tue, 14 Sep 2010 06:50:34 GMT]]></title><description><![CDATA[<p dir="auto">@<a href="http://osvi.giorgiotave.it/" rel="nofollow ugc">osvi</a><br />
grazie!</p>
]]></description><link>https://dev.connect.gt/post/761503</link><guid isPermaLink="true">https://dev.connect.gt/post/761503</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Tue, 14 Sep 2010 06:50:34 GMT</pubDate></item><item><title><![CDATA[Reply to [apache] redirect verso w*w.sito.it invece che sito.it on Sat, 27 Dec 2008 09:54:41 GMT]]></title><description><![CDATA[<p dir="auto">Redirect da <a href="http://example.com" rel="nofollow ugc">example.com</a> a <a href="http://www.example.com" rel="nofollow ugc">www.example.com</a></p>
<pre><code>RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
</code></pre>
<p dir="auto"><em>.."se l'host non è <a href="http://www.example.com" rel="nofollow ugc">www.example.com</a> fai il redirect di tutto (.</em>) verso <a href="http://www.example.com" rel="nofollow ugc">www.example.com</a>"*</p>
<p dir="auto">Francesco</p>
]]></description><link>https://dev.connect.gt/post/761499</link><guid isPermaLink="true">https://dev.connect.gt/post/761499</guid><dc:creator><![CDATA[osvi]]></dc:creator><pubDate>Sat, 27 Dec 2008 09:54:41 GMT</pubDate></item><item><title><![CDATA[Reply to [apache] redirect verso w*w.sito.it invece che sito.it on Mon, 22 Dec 2008 23:27:08 GMT]]></title><description><![CDATA[<p dir="auto">Salve,<br />
purtroppo sono incappato in un hosting abbastanza "pessimo" ed ho un piccolo problema:<br />
tutte le pagine senza "vvv" non vengono caricate.<br />
Allora ho fatto questo:<br />
Ho rediretto i DNS * e @ del mio sito sul mio ip statico dove sta in esecuzione xampp always on così da intercettare le richieste, e poi ho fatto una index.php che mi trasforma le richieste senza vvv in richieste con vvv tramite il codice:</p>
<p dir="auto">php $server = $_SERVER['SERVER_NAME']; header('Location: hXXp://vvv.' . $server);</p>
<p dir="auto">putroppo non funziona come dovrebbe (a volte va, altre no).<br />
A me servirebbe un "redirect wild card" da "hXXp://sito. ext/<em>" a "hXXp:// vvv. sito. ext/</em>" per qualunque valore di * in PHP (file, sottocartelle, variabili), ed ho a disposizione tutto apache per farlo, ma non so come.<br />
Mi potete aiutare?<br />
Sarebbe una grande cosa se potesse essere "indipendente" dal dominio, cioè ogni richiesta del tipo sito1.ext, sito2.ext... si trasformi automaticamente in vvv.sito1..., anche se la cosa non è fondamentale.<br />
Grazie.</p>
<p dir="auto">Dimenticavo: ovviamente il sito NON si trova sul mio pc, devo solo ?reindirizzare? la richiesta, meglio se in php.</p>
]]></description><link>https://dev.connect.gt/post/761504</link><guid isPermaLink="true">https://dev.connect.gt/post/761504</guid><dc:creator><![CDATA[magonicola]]></dc:creator><pubDate>Mon, 22 Dec 2008 23:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to [apache] redirect verso w*w.sito.it invece che sito.it on Thu, 02 Oct 2008 10:21:21 GMT]]></title><description><![CDATA[<p dir="auto">Leggi qui</p>
<p dir="auto"><a href="http://pukins.com/pointlab/archives/28" rel="nofollow ugc">pukins.com/pointlab/archives/28</a></p>
<p dir="auto">Ciao!</p>
]]></description><link>https://dev.connect.gt/post/761498</link><guid isPermaLink="true">https://dev.connect.gt/post/761498</guid><dc:creator><![CDATA[pukins]]></dc:creator><pubDate>Thu, 02 Oct 2008 10:21:21 GMT</pubDate></item></channel></rss>