Has anyone succeeded in getting wiki to work behind an SSL accelerator?
While all the other content on my web server all comes through right if it has relative URLs, (i.e. an HREF to "mydocs" gets turned into https://myserver/mydocs, the local relative urls in wiki get turned into http://myserver/mydocs.
Keep in mind, the apache web server live on port 80 here, and the SSL accelerator encrypts it and answers the requests to https:// all automagically. So wiki on my box thinks it's NOT on https, but in fact it is on it.
I can't find anything in the code doing it, so I was wondering if there was maybe something simple in the css or whatever causing this behaviour...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anyone succeeded in getting wiki to work behind an SSL accelerator?
While all the other content on my web server all comes through right if it has relative URLs, (i.e. an HREF to "mydocs" gets turned into https://myserver/mydocs, the local relative urls in wiki get turned into http://myserver/mydocs.
Keep in mind, the apache web server live on port 80 here, and the SSL accelerator encrypts it and answers the requests to https:// all automagically. So wiki on my box thinks it's NOT on https, but in fact it is on it.
I can't find anything in the code doing it, so I was wondering if there was maybe something simple in the css or whatever causing this behaviour...
You might need to set the SERVER_PORT variable to 443 or the undocumented constant SERVER_PROTOCOL to "http".