Buonasera,
quest'oggi ho un problema proprio che non mi spiego: non riesco a personalizzare l'errore 404 per via di questo codice:
Codice PHP:
# Attivazione Rewrite
RewriteEngine On
RewriteBase /test
# Toolbar AlterVista
SetEnv AV_TOOLBAR 0
# PHP 5 Engine
AddHandler av-php5 .php
# Register Globals
php_flag register_globals off
# Set www/no-www
RewriteCond %{HTTP_HOST} !^messenworld.altervista.org$
RewriteRule ^(.*)$ http://messenworld.altervista.org/$1 [R=301,L]
# HTTP Files Upload
php_value upload_max_filesize 5M
php_value post_max_size 5M
php_value max_input_time 300
# Rewrites
RewriteRule ^immagini-personali-per-msn/avatars-(.*).html$ index.php?pag=ava&avacat=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !(cartella1|directory|cartella2|directory2)
RewriteRule ^(.*).html$ index.php?pag=$1 [L,QSA]
# Errori HTTP
ErrorDocument 404 errore_http.php
Mi sapreste aiutare a risolvere?