使用Apache发布delphi开发的isapi类型的webservice
一 发布过程
1. 确保添加so文件
LoadModule isapi_module modules/mod_isapi.so
2. 虚拟主机配置
Listen 8080 NameVirtualHost liuwm-pc:8080 <VirtualHost liuwm-pc:8080> ServerName liuwm-pc DocumentRoot D:/WEB_APP/DELPHI_WESERVICE_XE DirectoryIndex EchoWS.dll AddHandler isapi-isa .dll Alias /ws "D:/WEB_APP/DELPHI_WESERVICE_XE" <Directory "D:/WEB_APP/DELPHI_WESERVICE_XE"> Options ExecCGI order allow,deny Allow from all </Directory> ISAPICacheFile "D:/WEB_APP/DELPHI_WESERVICE_XE/EchoWS.dll" </VirtualHost>