Salve ho un sito con questo file .htaccess :

Codice PHP:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase 
/

RewriteCond %{REQUEST_URI} ^/forever/([^/]+).html
RewriteRule 
^forever/([^/]+).html forever/index.php?pag=$[L]

RewriteCond %{REQUEST_URI} ^/admin/([^/]+).html
RewriteRule 
^admin/([^/]+).html admin/index.php?pag=$[L]

RewriteCond %{REQUEST_URI} ^/faq/([^/]+).html
RewriteRule 
^faq/([^/]+).htmlindex.php?pag=faq&id=$[L]

RewriteCond %{REQUEST_URI} ^/forever.html
RewriteRule forever
.html forever/index.php [L]

RewriteCond %{REQUEST_URI} ^/([^/]+).html
RewriteRule 
([^/]+).html index.php?pag=$[L]
</
IfModule>

php_flag    "magic_quotes_gpc"        "1"
php_flag    "magic_quotes_runtime"    "0"
php_flag    "register_globals"        "0"
php_flag    "allow_url_fopen"        "0" 
il problema è che sul server quando vado a cliccare su
www.miosito.it/faq/1.html mi ridireziona su faq.php e non su index.php?pag=faq&id=1 come descritto dalla regola, perchè?
Il bello è che sul server che ho qui in locale (cioè il pc sul quale creo e testo i siti) tale regola viene interpretata nella giusta maniera..

ho provato anche usando questo file .htaccess:
Codice PHP:
RewriteEngine On

RewriteRule 
^forever/([^/]+).html forever/index.php?pag=$[L]
RewriteRule ^admin/([^/]+).html admin/index.php?pag=$[L]
RewriteRule ^faq\/(.*)\.htmlindex.php?id=$1&pag=faq [L]

RewriteRule forever.html forever/index.php [L]
RewriteRule ([^/]+).html index.php?pag=$[L]

php_flag    "magic_quotes_gpc"        "1"
php_flag    "magic_quotes_runtime"    "0"
php_flag    "register_globals"        "0"
php_flag    "allow_url_fopen"        "0" 
ma quando clicco su www.miosito.it/faq/1.htmlinvece di ridirezionarmi su index.php?pag=faq&cod=1 mi ridireziona su index.php?pag=1 ...ma chi glie lo dice? ovviamente sul server in locale questo file .htaccess funziona perfettametne.

Dove sbaglio?