Hi,

You are right, HTTP_FORWRDED_REQUEST_URI is not a standard header.

Apparently there is a misconfigured reverse proxy in front of fossil that implements ProxyPass without ProxyPassReverse, and sets a custom header.

Found an easy fix with Apache mod_substitute that does just that :

    LoadModule substitute_module modules/mod_substitute.so
    ...
    AddOutputFilterByType SUBSTITUTE text/html
    # pattern contains slash, use alternate separator
    Substitute "s|fossil.cgi|wsgi/fossil.cgi|ni"

-Alexandru Toth
www.snowflakejoins.com
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to