Was this page helpful?

Run MindTouch API on a different port

    By default, the MindTouch API listens on port 8081. For example, if you'd like the API to listen on port 9999 do the following:

    Change the mindtouch.host.conf file

    Edit the /etc/dekiwiki/mindtouch.host.conf file and change the following variable:

    HTTP_PORT=9999

    Note: On Windows, you'll need to edit your bin/mindtouch.host.bat file and change the http-port argument to http-port 9999

    Change your LocalSettings.php file

    Edit the LocalSettings.php file in your Deki Wiki web root and add the following variable:

    $wgDreamServer = 'http://localhost:9999';

    Change your apache mod_proxy rules

    Edit your MindTouch Apache configuration file and change the ProxyPass and ProxyPassReverse values to the following:

    ProxyPass /@api http://localhost:9999 retry=1
    ProxyPassReverse /@api http://localhost:9999
    

    Restart Apache and MindTouch API

    /etc/init.d/dekiwiki restart
    /etc/init.d/apache2 reload 
    
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by