I am trying lighttpd as a reverse proxy (v1.4.53)
lighttpd.conf: $HTTP["url"] =~ "(^/example/)" { proxy.header = ("map-urlpath" => ( "/example/" => "/" )) proxy.server = ("" => (( "host" => "redmine.lighttpd.net" ))) } However, this request returns response code 404.
http://localhost/example/ --> http://www.exapmle.com/ ...404 http://localhost/example/pro/lighttpd/ --> http://www.exapmle.com/pro/lighttpd/ ...404 http://localhost/example/pro/lighttpd/wiki --> http://www.exapmle.com/pro/lighttpd/wiki ...404 Is there a mistake in this mod_proxy setting. Also, how do I output mod_proxy debug log details.