MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query."
        }
    },
    "query-continue": {
        "allpages": {
            "gapcontinue": "Scanbox"
        }
    },
    "query": {
        "pages": {
            "170": {
                "pageid": 170,
                "ns": 0,
                "title": "SSL Certificate",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "An SSL certificate is required for a secure connection to the web server. Your URL will be prefixed with https:// instead of http://\n\n==Generate Certificate request file==\nIf you want to install an SSL certificate you will need to generate a private key and a certificate request file (.CSR). Login as root to the server and create the folder:\n\n<pre>mkdir /etc/apache2/ssl</pre>\n\nGo to the folder:\n<pre>cd /etc/apache2/ssl</pre>\n\nRun command:\n<pre>openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr</pre>\n\nwhere server is the name of your server.\n\nThis begins the process of generating two files: the Private-Key file for the decryption of your SSL Certificate, and a certificate signing request (CSR) file (used to apply for your SSL Certificate) with apache openssl.\n\nWhen you are prompted for the Common Name (domain name), enter the fully qualified domain name for the site you are securing. If you are generating an Apache CSR for a Wildcard SSL Certificate your common name should start with an asterisk (such as *.example.com).\n\nYou will then be prompted for your organizational information, beginning with geographic information. There may be default information set already. Don't set a challenge password.\n\nThis will then create your openssl .csr file which you can use to order your certificate.\n\n==Installing the certificate==\nTo enable the SSL module for apache run the command:\n\n<pre>a2enmod ssl</pre>\n\nThen make a new virtual host file:\n<pre>\ncp /etc/apache2/sites-enabled/000-default /etc/apache2/sites-enabled/001-ssl\n</pre>\n\nEdit the new file to and change the port number on top:\n<pre>\n<VirtualHost *:443>\n</pre>\n       \nAt the end just before </VirtualHost> add:\n<pre>\nSSLEngine On\nSSLCertificateKeyFile /etc/apache2/ssl/server.key\nSSLCertificateFile /etc/apache2/ssl/server.crt\nSSLCACertificateFile /etc/apache2/ssl/CAroot.crt\n</pre>\n\nYou should get the server.crt and CARoot.crt from the SSL authority.\n\nAfter making these changes you must restart Apache:\n\n<pre>\n/etc/init.d/apache2 restart\n</pre>\n\n==Forcing SSL==\nIf you'd like to force SSL for all connections then edit /etc/apache2/sites-enabled/000-default and enter the following:\n\n<pre>\n<VirtualHost *:80>\n        ServerAdmin admin@example.com\n        ServerName groupoffice.example.com\n\n        DocumentRoot /var/www\n\n        Redirect permanent / https://groupoffice.example.com/groupoffice\n        Redirect permanent /groupoffice https://groupoffice.example.com/groupoffice\n</VirtualHost>\n</pre>\nAfter making these changes you must restart Apache:\n\n<pre>\n/etc/init.d/apache2 restart\n</pre>"
                    }
                ]
            },
            "201": {
                "pageid": 201,
                "ns": 0,
                "title": "Saving and linking e-mails",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "If you have installed the \"Save e-mail as\" module, you can save e-mails as files, tasks, appointments, notes tickets and as a link to any other item in Group-Office. The next video demonstrates linking e-mail:\n\n<HTML5video width=\"420\" height=\"315\" type=\"youtube\">Lf9jQiftZLc</HTML5video>"
                    }
                ]
            }
        }
    }
}