Page History
...
2.1. Specify path to the SCAYT plugin (wscbundle.js or ckscayt.js if you have older versions) using scayt_srcUrl parameter.
Code Block | ||||
---|---|---|---|---|
| ||||
config.scayt_srcUrl ="http(s)://your_host_name/virtual_directory/wscbundle/wscbundle.js"; |
2.2. Specify path to the WebSpellChecker Server service installation where spelling and grammar check requests will be processed:
Code Block | ||||
---|---|---|---|---|
| ||||
config.scayt_serviceProtocol='http(s)';
config.scayt_serviceHost='your_host_name';
config.scayt_servicePort ='2880';
config.scayt_servicePath ='/'; |
If you are not able to use a custom port (e.g. 2880) to access the service and deployed the Server to use the FastCGI protocol (via the SSRV.CGI component), you need to use the different values to access the service properly. Now the entry point for the service requests will be the SSRV.CGI component.
Code Block | ||||
---|---|---|---|---|
| ||||
config.scayt_serviceProtocol='http(s)'; config.scayt_serviceHost='your_host_name'; config.scayt_servicePort ='443'; // this is the port of your web server or Java application server config.scayt_servicePath ='virtual_directory/script/ssrv.cgi'; |
3. Adjust Default Settings
...