Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide will help you to configure the direct connection of the WProofreader product and other products based on SpellCheckAsYouType (SCAYT) with AppServer bypassing the old FastCGI component.

Tip

Good to know:

With 1. With WebSpellChecker Server 5.0.0 release, the service requests for spell and grammar checking using products based on SpellCheckAsYouType (SCAYT),  WProofreader and Web API can be processed directly by AppServer. Previously, all such requests before reaching AppServer were processed by quite old FastCGI component and only then were sent to AppServer. Getting rid of the intermediate step with FastCGI component for newer products simplified the process of the application configuration and significantly sped up the requests processing time. 

Configuring the direct connection of WProofreader with AppServer, provides the following advantages:

  • Get rid of the FastCGI component and its additional configuration;
  • Improve performance of your application;
  • Release your Web or Application Server from processing spell and grammar check requests;
  • Simplify your configuration and improve maintainability.

2. The default port of AppServer is 2880

3. In order to configure secure SSL connection between your application and AppServer, it is also required to perform the additional steps as described on the Enabling SSL connection with AppServer page.

1. Direct Connection for WProofreader

1. Add the following parameters to WEBSPELLCHECKER_CONFIG of WProofreader initialization in your app:

  • serviceHost: 'your_host_name'
  • serviceProtocol: 'http' or 'https'

In order to configure secure SSL connection between your application and AppServer, it is also required to perform the additional steps as described on the Enabling SSL Connection with AppServer page.

  • servicePath: '/'
  • servicePort: '2880'

The default port of AppServer is 2880. In order to setup the direct connection, it is required to pass 2880 port as a value for the servicePort parameter.

2. As soon as all the changes are made and saved, it is recommended to clear browser cache and reload the page.

Example: Initialization of WProofreader with a direct connection to AppServer

...

2.1. Add the following SCAYT plugin parameters in CKEditor config.js file used your applicationapp:

  • scayt_serviceHost: 'your_host_name'
  • scayt_serviceProtocol: 'http' or 'https'
  • scayt_servicePath: '/'
  • scayt_servicePort: '2880'

2.2. As soon as all the changes are made and saved, it is recommended to clear browser cache and reload the page.

Example: Initialization of SCAYT plugin for CKEditor 4 with direct connection to AppServer

...