• User

    Mod_rewrite

    Se creo il file .htaccess ho il seguente errore nel log:

    [Mon Mar 27 11:52:42 2006] [alert] [client 82.59.3.24] /home/web/dominio/website/.htaccess: RewriteEngine not allowed here

    Nel file httpd.conf il mod_rewrite è arrivo (anche se il modulo ha estenzione .so e nel file htaccess di wordpress lo chiama .c).

    LoadModule rewrite_module modules/mod_rewrite.so

    Il file è sil seguente:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php
    </IfModule>

    Secondo voi qual'è il problema?

    Grazie e ciao,
    Dean