Project

General

Profile

Bug #1711

%0 in mod_rewrite

Added by Anonymous about 12 years ago. Updated almost 12 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_rewrite
Target version:
ASK QUESTIONS IN Forums:

Description

in lighttpd.conf

url.rewrite-once = (
"^/home/(.*)" => "/home/virtual/%0/webmaster/public_html/irrestrito/$1"
)

after request url http://itil.e-login.net/home/teste.php

in lighttpd.error.log

2008-07-04 13:15:29: (mod_rewrite.c.405) used a redirect containing a %0-9+ in the global scope, ignored: /home/virtual/%0/webmaster/public_html/irrestrito/$1

As I do this with the lighttpd? in apache I used

RewriteRule ^/home/?(.*) /home/virtual/%{HTTP_HOST}/webmaster/public_html/irrestrito/$1

-- bernardo

#1

Updated by stbuehler about 12 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

This is a bug tracker, not a support forum. Match the hostname before.

#2

Updated by Anonymous almost 12 years ago

shit, i have the same problem.
you dare close it ?!

#3

Updated by hoffie almost 12 years ago

Please refrain from making such comments. stbuehler is perfectly right -- this is a bug tracking system, not a support forum. What both of you are/were trying to do is wrong and lighty complains about that for a reason (%0 refers to a previous pcre conditional match. There is none in your case, that's why it cannot work).

Please use forums, mailing list or IRC to get help for problems on your side, if needed.

#4

Updated by stbuehler almost 12 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom