On 11/4/15, Eduard <[email protected]> wrote:
> Hi Taras,
>
> I've had a very similar problem. I fixed it by setting the "HTTPS"
> environment variable (for CGI execution) to "on" when the request comes
> in through https, i.e.
>
> <If "%{HTTP:X-Forwarded-Proto} = 'https'">
>   SetEnv HTTPS on
> </If>
>
> You might want to remove the "<if>" part if you're only accepting https
> anyway.
>
> I'm not sure whether this is the truly correct way to do it, but it sure
> solved my problem.
>

Fossil depends on the HTTPS environment variable to know whether or
not the inbound request was over http or https.  Without that
environment variable, Fossil has no way of knowing, and hence has no
way of knowing whether to generate http: or https: on generated
hyperlinks.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to