ho un problema con uno script
l'ho portato su un sito con server linux e funziona benissimo, ma per funzionare ha bisogno di un file .htaccess che non fa + funzionare i file html del sito in questione : come posso fare perchè funzioni lo script ma che vadano anche i file html?
il file .htaccess è così:
DirectoryIndex index.php
RewriteEngine on
# EXISTING FILES
#RewriteRule ^(.*).php$ $1.php [L]
# EXISTING DIRECTORIES
RewriteRule ^img/(.*) img/$1 [L]
RewriteRule ^img img [L]
RewriteRule ^language/(.*) languages/$1 [L]
# REWRITING
#Full redirect
RewriteRule ^([^/]+)/(.*)$ url.php?tiny=$1&page=$2 [L]
RewriteRule ^(.+)$ url.php?tiny=$1 [L]
l'ho portato su un sito con server linux e funziona benissimo, ma per funzionare ha bisogno di un file .htaccess che non fa + funzionare i file html del sito in questione : come posso fare perchè funzioni lo script ma che vadano anche i file html?
il file .htaccess è così:
DirectoryIndex index.php
RewriteEngine on
# EXISTING FILES
#RewriteRule ^(.*).php$ $1.php [L]
# EXISTING DIRECTORIES
RewriteRule ^img/(.*) img/$1 [L]
RewriteRule ^img img [L]
RewriteRule ^language/(.*) languages/$1 [L]
# REWRITING
#Full redirect
RewriteRule ^([^/]+)/(.*)$ url.php?tiny=$1&page=$2 [L]
RewriteRule ^(.+)$ url.php?tiny=$1 [L]