Welcom ,I hope yo will enjoy here!

使用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>

 

 

参考网站:http://blog.csdn.net/jalphi/article/details/675685

posted on 2012-06-25 09:57  北国的雨  阅读(598)  评论(0编辑  收藏  举报

导航