Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [07-2007 Date Index] [Date Next] || [Thread Prev] [07-2007 Thread Index] [Thread Next]

[dokuwiki] Re: dokuwiki 2007-06-26 behind reverse proxy reports back port number

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 12 Jul 2007 16:19:37 +0200
Marc Haber writes:

Hi,

I have a dokuwiki installation behind a reverse proxy. The reverse
proxy accepts the connection on TCP/80 and forwards it to the apache
running dokuwiki which listens on 127.0.0.1:1316.

This used to work fine with older dokuwiki versions, including
2006-11-06.

But dokuwiki 2007-06-26 misbehaves when one saves a wiki page. The
POST request from the client is answered with a "302 Found", which has
Location: http://wiki.myhost.example:1316/doku.php?id=mypage. The
browser in turn tries to connect to that URL, gets a TCP RST back and
issues an error message to the user.

I didn't change anything on the system besides updating dokuwiki.

I don't remember any change in the code responsible for building the full qualified URLs. But I think we made the redirect using a full URL instead of a relative one (to make the redirect RFC conformant).

To fix this problem simply set the baseurl parameter. For your example it should be http://wiki.myhost.example/

Andi


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.