]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment
ikiwiki (3.20140916) unstable; urgency=low
[ikiwiki.git] / doc / forum / Dot_CGI_pointing_to_localhost._What_happened__63__ / comment_1_cbab9b95923124b39cfccf5d2e88070c._comment
1 [[!comment format=mdwn
2  username="http://smcv.pseudorandom.co.uk/"
3  nickname="smcv"
4  subject="comment 1"
5  date="2013-11-22T09:03:38Z"
6  content="""
7 The CGI automatically builds self-referential URLs based on how you
8 accessed it, so if your web host puts it behind a
9 [reverse proxy](https://en.wikipedia.org/wiki/Reverse_proxy) or
10 something, that might make it try to redirect to localhost?
11
12 If that's it, then `$q->url` with `$params{cgiurl}` in
13 `IkiWiki/CGI.pm` and `IkiWiki/Plugin/openid.pm` would work around it.
14 """]]