faq.txt

来自「开放源代码的WEB服务器」· 文本 代码 · 共 39 行

TXT
39
字号
Frequently Asked Questions--------------------------Building Software	1. I get compilation about missing types	2. I get link errors about unresolved symbolsHTTPD Configuration	3. I can't get the web server to bind to a particular hostname-------1. I get compilation about missing typesAnswer: Include the header file that is shipped with this library.  Itis usually installed in /usr/local/include and is called httpd.h.  Just add	#include <httpd.h>to your code and compile it with the following compiler flag	-I /usr/local/include-------2. I get link errors about unresolved symbolsAnswer: You are not linking against the library.  The library archive isinstalled in /usr/local/lib by default.  Add the following to your linkcommand	-L /usr/local/lib -lhttpd-------3. I can't get  the web server to bind to a particular hostnameAnswer: The httpdCreate( ) function does not take a hostname, only anIP address.  Replace the hostname with the IP Address of the host andeverything should be fine.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?