LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   apache rewrite rule to lighttpd's. error!!! (https://www.linuxquestions.org/questions/linux-server-73/apache-rewrite-rule-to-lighttpds-error-662143/)

gavin2u 08-12-2008 12:18 AM

apache rewrite rule to lighttpd's. error!!!
 
i alter my apache url rewrite rule to:

Quote:

url.rewrite = (
"^(.*)/archiver/((fid|tid)-[\w\-]+\.html)$" => "$1/archiver/index.php?$2",
"^(.*)/forum-([0-9]+)-([0-9]+)\.html$" => "$1/forumdisplay.php?fid=$2&page=$3",
"^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$" => "$1/viewthread.php?tid=$2&extra=page\%3D$4&page=$3",
"^(.*)/space-(username|uid)-(.+)\.html$" => "$1/space.php?$2=$3",
"^(.*)/tag-(.+)\.html$" => "$1/tag.php?name=$2")

however, i find lots of error log in lighttpd.error.log:

Quote:

(mod_rewrite.c.405) used a redirect containing a %[0-9]+ in the global scope, ignored: $1/viewthread.php?tid=$2&extra=page%%3D$4&page=$3

is there anything not proper? how can i avoid this?

Quote:

$1/viewthread.php?tid=$2&extra=page\%3D$4&page=$3
and, when i change \%3D to %%3D, the problem remian there.

help, please. thanks in advance.


All times are GMT -5. The time now is 10:47 PM.