aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment
blob: eb1007b0e2890b5957295a21fbd71658f01b41cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[[!comment format=mdwn
 username="http://smcv.pseudorandom.co.uk/"
 nickname="smcv"
 subject="comment 1"
 date="2013-11-22T09:03:38Z"
 content="""
The CGI automatically builds self-referential URLs based on how you
accessed it, so if your web host puts it behind a
[reverse proxy](https://en.wikipedia.org/wiki/Reverse_proxy) or
something, that might make it try to redirect to localhost?

If that's it, then `$q->url` with `$params{cgiurl}` in
`IkiWiki/CGI.pm` and `IkiWiki/Plugin/openid.pm` would work around it.
"""]]