<?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[Problema .htaccess]]></title><description><![CDATA[<p dir="auto">Ciao a tutti,<br />
stò realizzando un sito tramite un CMS (ModX), ma ho diversi problemi nel gestire le traduzioni e mantenere le friends url...<br />
Succede che mi appaiono degli Internal Server Error 500 e non capisco il motivo...</p>
<p dir="auto">Ecco il mio file .htaccess:</p>
<h1>Fix Apache internal dummy connections from breaking [(site_url)] cache</h1>
<p dir="auto">RewriteCond %{HTTP_USER_AGENT} ^.<em>internal\ dummy\ connection.</em>$ [NC]<br />
RewriteRule .* - [F,L]</p>
<h1>Friendly URLs</h1>
<p dir="auto">RewriteEngine On<br />
RewriteBase /</p>
<h1>Fix Apache internal dummy connections from breaking [(site_url)] cache</h1>
<p dir="auto">RewriteCond %{HTTP_USER_AGENT} ^.<em>internal\ dummy\ connection.</em>$ [NC]<br />
RewriteRule .* - [F,L]</p>
<h1>Exclude /assets and /manager directories from rewrite rules</h1>
<p dir="auto">RewriteRule ^(manager|assets) - [L]</p>
<h1>Redirect from <a href="http://mydomain.com/rootname" rel="nofollow ugc">mydomain.com/rootname</a> to <a href="http://mydomain.com/rootname/" rel="nofollow ugc">mydomain.com/rootname/</a></h1>
<p dir="auto">RewriteRule ^en$ en/ [R=301,L]<br />
RewriteRule ^fr$ fr/ [R=301,L]<br />
RewriteRule ^es$ es/ [R=301,L]</p>
<h1>The Friendly URLs part</h1>
<p dir="auto">RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^es/(.<em>)$ index.php?q=$1 [L,QSA]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^en/(.</em>)$ index.php?q=$1 [L,QSA]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^fr/(.<em>)$ index.php?q=$1 [L,QSA]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule ^(.</em>)$ index.php?q=$1 [L,QSA]</p>
<p dir="auto">il server è linux su aruba.</p>
]]></description><link>https://dev.connect.gt/topic/136416/problema-htaccess</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 15:21:39 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/136416.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Oct 2010 09:17:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problema .htaccess on Fri, 08 Oct 2010 09:18:53 GMT]]></title><description><![CDATA[<p dir="auto">Sapete se esiste un modo per debuggare il server web?<br />
Purtroppo su aruba non ho modo di vedere i logs del server...</p>
]]></description><link>https://dev.connect.gt/post/939833</link><guid isPermaLink="true">https://dev.connect.gt/post/939833</guid><dc:creator><![CDATA[fabryshock]]></dc:creator><pubDate>Fri, 08 Oct 2010 09:18:53 GMT</pubDate></item></channel></rss>