From: http://smcv.pseudorandom.co.uk/ Date: Fri, 22 Nov 2013 09:03:49 +0000 (-0400) Subject: Added a comment X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/1a990b26c75cd022dbc614c984060cb825b63af2 Added a comment --- diff --git a/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment b/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment new file mode 100644 index 000000000..eb1007b0e --- /dev/null +++ b/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment @@ -0,0 +1,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. +"""]]