[Php-it] regola stupida di mod_rewrite che non mi viene

Riccardo Slanzi | Xflow.it r.slanzi at xflow.it
Fri Sep 7 11:38:25 CEST 2007


Davide Michel 'ZioBudda' Morelli ha scritto:
> Devo trasformare /index3.php/dato1/dato2 in index.php?ele1=dato1&ele2=dato2
> Chi mi da il .htaccess da inserire nella directory ?
>   
RewriteEngine   On
RewriteBase     /
RewriteRule     ^index3.php/(.*)/(.*)$        index.php?ele1=$1&ele2=$2

Così, al volo, dovrebbe andare... ma non l'ho testato
Ciao

-- 
Riccardo Slanzi




More information about the Php-it mailing list