Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

mod-pascal

Apache 2.2 module for Pascal scripting.(only Windows)

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

mod-pascal

RemObjects PascalScript を Apacheから使えるようにしたモジュールです。

使い方

環境変数の PASCAL_SCRIPT_ROOT に C:\www のようにスクリプトディレクトリを設定します。

ルートディテクトりのindex.ropsが実行されます。

Apacheの設定は以下のように書きます。

pascal
LoadModule mod_pascal_module modules/mod_pascal.so
<Location />
  Order allow,deny
  Allow from all
  SetHandler mod_pascal-handler
</Location>

Apacheのbinディレクトリに libapr.dll がない場合にエラーになるかもしれません。

libapr-1.dll をコピーして名前を変更してください。