• User

    Problema .htaccess

    Ciao a tutti,
    stò realizzando un sito tramite un CMS (ModX), ma ho diversi problemi nel gestire le traduzioni e mantenere le friends url...
    Succede che mi appaiono degli Internal Server Error 500 e non capisco il motivo...

    Ecco il mio file .htaccess:

    Fix Apache internal dummy connections from breaking [(site_url)] cache

    RewriteCond %{HTTP_USER_AGENT} ^.internal\ dummy\ connection.$
    RewriteRule .* - [F,L]

    Friendly URLs

    RewriteEngine On
    RewriteBase /

    Fix Apache internal dummy connections from breaking [(site_url)] cache

    RewriteCond %{HTTP_USER_AGENT} ^.internal\ dummy\ connection.$
    RewriteRule .* - [F,L]

    Exclude /assets and /manager directories from rewrite rules

    RewriteRule ^(manager|assets) -

    Redirect from mydomain.com/rootname to mydomain.com/rootname/

    RewriteRule ^en$ en/ [R=301,L]
    RewriteRule ^fr$ fr/ [R=301,L]
    RewriteRule ^es$ es/ [R=301,L]

    The Friendly URLs part

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^es/(.)$ index.php?q=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^en/(.
    )$ index.php?q=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^fr/(.)$ index.php?q=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.
    )$ index.php?q=$1 [L,QSA]

    il server è linux su aruba.


  • User

    Sapete se esiste un modo per debuggare il server web?
    Purtroppo su aruba non ho modo di vedere i logs del server...