Page History
To avoid exposing an additional port, AppServer port 2880, you can configure Apache HTTP Server to act as a reverse proxy.
1. Enable mod_proxy and mod_proxy_http modules using a2enmod script within Apache configuration.
Code Block | ||||
---|---|---|---|---|
| ||||
$ a2enmod proxy $ a2enmod proxy_http |
2. Find and open for editing WebSpellChecker config (2_WebInterface.conf) for Apache.
...
4. Save file and restart Apache.
Code Block | ||||
---|---|---|---|---|
| ||||
$ service apache2 restart |
5. In your browser, check version and status of the AppServer to verify if it works properly.
...
Info |
---|
Check the status:
Info |
---|
...
Since AppServer responds in json, it's better to use curl as wget will suggest downloading a file.
Code Block | ||||
---|---|---|---|---|
| ||||
/opt/WSC# curl https://localhost/wscservice/api/?cmd=status --insecure { "SpellCheckEngine": { "active": true }, "GrammarCheckEngine": { "active": true }, "ThesaurusEngine": { "active": true } } |