[UE] url-rewrite not working with 1.4.73
Hi team,
I was using 1.4.71 version , below is the config I have.
$HTTP["url"] == "/GSN/STATUS" { url.rewrite = ( "" => "/web/checkchanges.ha" ) }
This used to work fine , where if my URL is like https://192.168.1.1/GSN/STATUS would rewrite the URL to and used to go this file for further processing REQUEST_URI.
The same config resulting with 400 bad request. Any known changes in 1.4.71 to .14.73 .
Any pointers / leads would be highly appreciated.
Replies (2)
RE: url-rewrite not working with 1.4.73 - Added by suraj 9 months ago
As I see below log , it seems url is no more a specific module.
P0000-00-00T00:24:17.000000 L3 lighttpd[17775]: (configfile.c.1399) WARNING: unknown config-key: url.rewrite (ignored)
I tried changing as below , still does not work.
$HTTP["url"] == "/GSN/STATUS" { rewrite = ( "" => "/web/checkchanges.ha" ) }
I tried to follow https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_rewrite
Seems this is not yet updated / i am not able to exactly find my solution here.
RE: url-rewrite not working with 1.4.73 - Added by gstrauss 9 months ago
There is nothing wrong with lighttpd.
P0000-00-00T00:24:17.000000 L3 lighttpd17775: (configfile.c.1399) WARNING: unknown config-key: url.rewrite (ignored)
You probably broke your config and are not loading "mod_rewrite"
in server.modules
How to get support - please read
Alternatively, whoever or whatever built lighttpd for your system did something incorrectly.
The same config resulting with 400 bad request. Any known changes in 1.4.71 to .14.73 .
Maybe you meant to phrase that as a question? Please read https://redmine.lighttpd.net/projects/lighttpd/news
The change affecting you is probably in lighttpd 1.4.70 (Release-1_4_70)