Apache怎样和Delphi生成的webservice整合

zhourongbiao 2004-06-20 11:28:46
包含的内容:
1。如何生成webservice的dll?
2。如何让apache服务器提供这个服务(呵呵这方面我是菜鸟)?
...全文
115 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
aiirii 2004-08-18
  • 打赏
  • 举报
回复
看过几个例子,都是在delphi开发后,再用kylix编译,再发布到Apache
xinghf 2004-08-17
  • 打赏
  • 举报
回复
Your DLLs should be physically located in the Apache Modules subdirectory.

Two modifications to httpd.conf are required to enable a module.

1 Add a LoadModule entry to let Apache locate and load your DLL. For example:

LoadModule MyApache_module modules/Project1.dll

Replace MyApache_module with the exported module name from your DLL. To find the module name, in your project source, look for the exports line. For example:

exports
apache_module name 'MyApache_module';

2 Add a resource locator entry (may be added anywhere in httpd.conf after the LoadModule entry). For example:

# Sample location specification for a project named project1.
<Location /project1>
SetHandler project1-handler
</Location>

This allows all requests to http://www.somedomain.com/project1 to be passed on to the Apache module.

The SetHandler directive specifies the Web server application that handles the request. The SetHandler argument should be set to the value of the ContentType global variable.

1,593

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 网络通信/分布式开发
社区管理员
  • 网络通信/分布式开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧