turnermm / ckgedit

CKEditor integrated into Dokuwiki
https://www.dokuwiki.org/plugin:ckgedit
GNU General Public License v2.0
60 stars 49 forks source link

Save button not working when behind reverse proxy #233

Closed FrankIJskes closed 8 years ago

FrankIJskes commented 8 years ago

When dokuwiki is behind a reverse proxy (nginx in my case), the save button does not work out of the box.

Solution: inside the dokuwiki configuration set the baseurl setting to the outside url. This fixes all "false" and other problems using this plugin. (this is mainly a documentation issue)

turnermm commented 8 years ago

Thank you. I'll include this in the documentation. As an additional bit of information, a contributor has upgraded ckgedit, so that it has access to both the current CKEditor file browser and the native Dokuwiki linkiwiz and filebrowser. https://github.com/turnermm/ckgedit/archive/stvg.zip Here is the discussion: https://github.com/turnermm/ckgedit/pull/230 I haven't had any experience with reverse proxy but it's possible that DW picks this up automatically.

FrankIJskes commented 8 years ago

I was triggered by the fact that ckgedit won't enable the save button when it is embedded. I did not debug, but it might make an incorrect check when the page has a different name then dokuwiki says it is. Since it is a dokuwiki configurable setting i do not mind. I found more things not working, but i haven't had the time to debug it to the end.

Thanks for updating the docs and i also updated the editor and it still works :).

Frank

On 14-09-16 01:39, Myron Turner wrote:

Thank you. I'll include this in the documentation. As an additional bit of information, a contributor has upgraded ckgedit, so that it has access to both the current CKEditor file browser and the native Dokuwiki linkiwiz and filebrowser. https://github.com/turnermm/ckgedit/archive/stvg.zip Here is the discussion:

230 https://github.com/turnermm/ckgedit/pull/230

I haven't had any experience with reverse proxy but it's possible that DW picks this up automatically.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/turnermm/ckgedit/issues/233#issuecomment-246860540, or mute the thread https://github.com/notifications/unsubscribe-auth/AVJAqNoVPx62M8iXjyLxIZxi306rjExSks5qpzQggaJpZM4J7Z6r.

turnermm commented 8 years ago

Haven't gotten to the docs yet but will do

Get Outlook for iOS

On Tue, Sep 13, 2016 at 3:16 AM -0500, "FrankIJskes" notifications@github.com wrote:

When dokuwiki is behind a reverse proxy (nginx in my case), the save button does not work out of the box.

Solution: inside the dokuwiki configuration set the baseurl setting to the outside url. This fixes all "false" and other problems using this plugin.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

turnermm commented 8 years ago

Done: https://www.dokuwiki.org/plugin:ckgedit#reverse_proxy (Gave your github id credit for the fix. Feel free to delete it if you don't want it there)