<?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 (unix) ed htaccess]]></title><description><![CDATA[<p dir="auto">ciao a tutti, ho un problema con apache.<br />
Non riesco a far funzionare l'htaccess in locale, premetto che lo stesso file in rete funziona ed il server è sempre unix.<br />
Il problema è in locale.<br />
La direttiva AllowOverride del file httpd.conf è impostata a None, ho provato ad impostarla su All, ma non funziona lo stesso.<br />
Esiste un metodo/test per capire se apache riesce a leggere l'htaccess?<br />
O potreste dirmi come settare l'httpd.conf affinchè possa funzionare?</p>
<p dir="auto">Io ho provato cosi:</p>
<p dir="auto">ho creato una pagina web "test.php":<br />
&lt;?PHP echo "ciao ".$_GET["id"]; ?&gt;</p>
<p dir="auto">ed un file .htaccess con la seguente regola:<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^test/([^/]+).html test.php?id=$1</p>
<p dir="auto">ovviamente se nell'url digito test.php?id=mondo<br />
l'output sarà "ciao mondo", la stessa cosa dovrebbe accadere digitando:<br />
test/mondo.html<br />
ma non è così, o meglio visualizza solo ciao, non riconoscendo la variabile.<br />
In cosa sbaglio?</p>
<p dir="auto">Grazie.</p>
]]></description><link>https://dev.connect.gt/topic/7797/apache-unix-ed-htaccess</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 17:21:37 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/7797.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Feb 2006 14:54:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to apache (unix) ed htaccess on Mon, 27 Feb 2006 17:07:13 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Tymba</strong></p>
<p dir="auto">prova così:<br />
RewriteRule ^test/(.*).html test.php?id=$1</p>
</blockquote>
<p dir="auto">Ciao Tymba,<br />
purtroppo non và...<br />
stò impazzendo, non credi possa essere un problema di configurazione?</p>
<p dir="auto">Lo stesso script online funziona....</p>
<p dir="auto">:bho:</p>
]]></description><link>https://dev.connect.gt/post/303671</link><guid isPermaLink="true">https://dev.connect.gt/post/303671</guid><dc:creator><![CDATA[defly]]></dc:creator><pubDate>Mon, 27 Feb 2006 17:07:13 GMT</pubDate></item><item><title><![CDATA[Reply to apache (unix) ed htaccess on Mon, 27 Feb 2006 16:56:13 GMT]]></title><description><![CDATA[<p dir="auto">prova così:<br />
RewriteRule ^test/(.*).html test.php?id=$1</p>
]]></description><link>https://dev.connect.gt/post/303660</link><guid isPermaLink="true">https://dev.connect.gt/post/303660</guid><dc:creator><![CDATA[tymba]]></dc:creator><pubDate>Mon, 27 Feb 2006 16:56:13 GMT</pubDate></item></channel></rss>