telnet 返回的好像不对
一般应该先返回类似
HTTP/1.1 200 OK
Date: Tue, 17 May 2005 14:31:18 GMT
Server: Apache/1.3.22
Cache-Control: max-age=1
Expires: Tue, 17 May 2005 14:31:19 GMT
Last-Modified: Mon, 16 May 2005 13:43:00 GMT
ETag: "2d8004-10b1-4288a364"
Accept-Ranges: bytes
Content-Length: 4273
Connection: close
Content-Type: text/html
的
起码要有 HTTP/1.1 200 OK
Content-Type: text/html
不过 , skywind 的系统可能也有问题
本地执行这个脚本是这样的输出
<Skywind> href="mailto:root@Skywind/var/www/test#">root@Skywind/var/www/test# python
mptest.py
<Skywind> Traceback (most recent call last):
<Skywind> File "mptest.py", line 1, in ?
<Skywind> from mod_python import apache
<Skywind> File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
55, in ?
<Skywind> import _apache
<Skywind> ImportError: No module named _apache