172
kenogui . Pardon my language (i'm italian).
I have tested your hack in my site. It work good but it has a problem with WebLog module.
Archive of WebLog module 1.2 give me an error.
I'm a newbie (i do not understand nothing in php) but i have correct ("BAD, I'M NOT AN EXPERT") it with this system :
.HTACCESS file :
#weblog eulisse Aggiunto 22 marzo 2004
RewriteRule ^modules/weblog/archive-([0-9]+)-([0-9]+)-([0-9]+).html$ modules/weblog/archive.php?year=$1&month=$2&user_id=$3 [L]
-------------------
MODREGEXP.PHP file :
"'(?<!/\/)modules/news/archive.php\"'",
"'(?<!/\/)archive.php\?year=([0-9]*)&month=([0-9]*)&user_id=([0-9]*)'",
"'(?<!/\/)archive.php\?year=([0-9]*)&month=([0-9]*)'",
"'(?<!/\/)modules/wfsection/\"'",
.......
.......
.......
.......
.......
"modules/news/archive.html\"",
"archive-\\1-\\2-\\3.html",
"archive-\\1-\\2.html",
"dossiers.html\"",
-------------
I have insert "'(?<!/\/)archive.php\?year=([0-9]*)&month=([0-9]*)&user_id=([0-9]*)'", and
"archive-\\1-\\2-\\3.html", because otherwise the script redirect bad to the other script.