Bug #1711
closed%0 in mod_rewrite
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
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.
Updated by Anonymous about 16 years ago
shit, i have the same problem.
you dare close it ?!
Updated by hoffie about 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.
Also available in: Atom