- Home
- Categorie
- Coding e Sistemistica
- Coding
- problema con mod_rewrite
-
problema con mod_rewrite
chiedo scusa per il problema su questo thread :sto:
dunque ho il seguente file htaccess
GNU nano 1.3.7 File: .htaccess RewriteEngine On RewriteRule ^xx/([^/]+).html xx.php?id=$1
e script php
GNU nano 1.3.7 File: xx.php <?php echo "aaa" . $_GET[id] . "bbb"; ?>
xx.php?id=9 restituisce aaa9bbb [ok]
mentre
xx/9.html restituisce aaabbballowoverride è impostato su all (da httpd.conf)
idee?
-
up
-
@osvi said:
RewriteEngine On RewriteRule ^xx/([^/]+).html xx.php?id=$1
RewriteEngine On RewriteRule xx/(.*).html$ /xx.php?id=$1
Se provi così?
-
niente
deve essere qualcosa sul server configurato male..