Project

General

Profile

Actions

Bug #1711

closed

%0 in mod_rewrite

Added by Anonymous over 16 years ago. Updated about 16 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

Actions #1

Updated by stbuehler over 16 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.

Actions #2

Updated by Anonymous over 16 years ago

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

Actions #3

Updated by hoffie over 16 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.

Actions #4

Updated by stbuehler about 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom