我有一个编译成ISAPI模块(dll)的web服务。我正确安装了Apache 2.3。如何将此DLL安装到apache中?
答案 0 :(得分:3)
以下是我用apache 2.2设置我的delphi isapi dll的信息: http://mc-computing.com/databases/Delphi/WebServers/WebServers.html
基本上你需要在httpd.conf中进行以下修改: 取消注释isapi_module:
LoadModule isapi_module modules/mod_isapi.so
然后在文件末尾添加:
<IfModule mod_alias.c>
# This allows ISAPI dll's and CGI exe's (both are required for regular aliases)
AddHandler isapi-isa .dll
AddHandler cgi-script .exe
Alias /isapi "d:/faxsrv/httpd"
<Directory "d:/faxsrv/httpd">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
对于此示例配置,要访问您的isapi,请转到地址:
答案 1 :(得分:2)
我曾经发布过(在David Moorehouse的帮助下)apache 2.2的更新标题 但请注意,这些并不是唯一的,所以它们只适用于Delphi 2007 ....
您可以在以下网址下载: https://forums.embarcadero.com/servlet/JiveServlet/download/2-25399-163963-2029/ApacheTwoHTTP.zip