Changes between Initial Version and Version 1 of Ticket #10464


Ignore:
Timestamp:
Mar 14, 2009, 1:27:13 PM (16 years ago)
Author:
Jacob
Comment:

[fixed formatting]

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:
     1It 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:
    22
     3{{{
    34$HTTP["url"] =~ "/login" {
    45    url.redirect = "https://....../login"
     
    67    fastcgi.server = ....
    78}
     9}}}
    810
    911I think the docs should be updated to reflect this as it will save others horrible headaches.
Back to Top