ABBYY FineReader Server 14ウェブサイトをルートディレクトリに移動する

注:本記事で紹介する設定方法ではhttp://localhost/を使用します。

  1. ドロップダウンメニューからAdd Website...を選んでIISで新しいウェブサイトを作成します。
    開いたダイアログウィンドウで以下を入力します:
  1. ウェブサイトの名前(Site name)。
  2. Application Pool
  3. インストレーションディレクトリへのPhysical path%InstallationDir%\ABBYY FineReader Server 14.0\FineReaderServerWS\)。
  4. マシンのHostname(例:localhost)。

  1. default-options.js ファイル(%InstallationDir%\ABBYY FineReader Server 14.0\FineReaderServerWS\default-options.js)に、以下を追加します:
  1. serviceBaseUrl: '{scheme:}//{host}{:port}<root path>'root pathはルートディレクトリへの完全パス。
  2. defaultServiceBaseUrl: '<url>’urlはdefaultServiceBaseUrl値(この場合は、'localhost:8080')。
  1. default.jsファイル(%InstallationDir%\ABBYY FineReader Server 14.0\FineReaderServerWS\demo\default.js)にwindow.FineReaderServerDefaultBaseUrl = '<url>'を追加し、url'localhost:8080'などに置き換えます。
  2. ウェブサイトを起動します(ブラウザキャッシュを更新するにはCtrl+F5ホットキーを使います)。

26.03.2024 13:49:51

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.