Changes between Initial Version and Version 1 of Ticket #10464
- Timestamp:
- Mar 14, 2009, 1:27:13 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10464 – Description
initial v1 1 It appears that lighttpd will IGNORE mod_rewrite rules within blocks using $HTTP["url"] to match on URLs (a fairly common thing to do to redirect to HTTPS for example). In order to do that you must NOT use $HTTP["url"], for example using "host" will work:1 It appears that lighttpd will IGNORE mod_rewrite rules within blocks using `$HTTP["url"]` to match on URLs (a fairly common thing to do to redirect to HTTPS for example). In order to do that you must NOT use `$HTTP["url"]`, for example using "host" will work: 2 2 3 {{{ 3 4 $HTTP["url"] =~ "/login" { 4 5 url.redirect = "https://....../login" … … 6 7 fastcgi.server = .... 7 8 } 9 }}} 8 10 9 11 I think the docs should be updated to reflect this as it will save others horrible headaches.