Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-12-2008, 12:18 AM   #1
Registered: Nov 2007
Location: Beijing, China
Distribution: Any free distro.
Posts: 47

Rep: Reputation: 15
Exclamation apache rewrite rule to lighttpd's. error!!!

i alter my apache url rewrite rule to:

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:

(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?

and, when i change \%3D to %%3D, the problem remian there.

help, please. thanks in advance.

Last edited by gavin2u; 08-12-2008 at 12:29 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subdomains with Apache 2.2.3 - vhost or rewrite rule? Serapis Linux - Server 8 01-25-2008 04:28 AM
Apache rewrite rule help kinetik Linux - Software 1 11-05-2007 11:18 AM
i need a rewrite rule!help arcow Linux - Enterprise 1 07-03-2007 05:37 AM
Exception in mod-rewrite rule Boby Programming 0 01-17-2006 07:40 PM
Help me make this rewrite rule in Apache ganninu Linux - General 8 01-07-2004 08:30 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration