[TiLUG] io odio .htaccess

Emanuele Quinto emanuele.quinto@gmail.com
Gio 25 Giu 2009 10:22:35 CEST


2009/6/25 marco* <marco@autistici.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Il giorno 25 giu 09, alle ore 09:26, Emanuele Quinto ha scritto:
>>
>> 2009/6/25 Nanomad <condellog@gmail.com>:
>>>
>>> 2009/6/25 marco* <marco@autistici.org>:
>>>
>>>>> RewriteCond %{HTTP_HOST} ^yo.blabla.it$ [NC]
>>>>> RewriteCond %{REQUEST_URI} !yo/
>>>>> RewriteRule ^(.*)$ /yo/$1 [L]
>>
>> Cosi' a occhio, prima di consultare man proverei a togliere la seconda
>> RewriteCond,
>
>        Yo, grazie a entrambi, però a quanto pare non va nessuna delle due.
> Sta cosa mi sta un po' tirando scemo.
>

Prova a mettere una direttiva per il rewrite log e spulcia il file...

RewriteLog "/home/zut/www/logs/rewrite.log"
RewriteLogLevel 3

Oppure prova questo per avere controllare con firebug:
http://www.latenightpc.com/blog/archives/2007/09/05/a-couple-ways-to-debug-mod_rewrite


ema

-- 
Emanuele Quinto - www.kronstadt.it
------------------------------------------------------------------------------------------------------------------
My mother used to say to me, "Elwood" - she always called me Elwood -
"In this world, Elwood, you must be oh-so smart, or oh-so pleasant."
For years I was smart. I recommend pleasant, and you may quote me.
------------------------------------------------------------------------------------------------------------------


Maggiori informazioni sulla lista TiLUG