杨舒的电话:Windows下安装Apache无法显示HTML?

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/04 12:10:44
我在Windows XP下安装了Apache 2.2的版本,测试http://localhost/时成功,然后建立了一个文件夹叫main,作了一个HTML,测试时发现Server错误日志中说:
[Sun Aug 06 20:13:58 2006] [error] [client 127.0.0.1] E:/Apache Software Foundation/Apache2.2/main/hello.html is not executable; ensure interpreted scripts have "#!" first line
[Sun Aug 06 20:13:58 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: E:/Apache Software Foundation/Apache2.2/main/hello.html
请问该怎么解决?我在做个人主页,十万火急……
另外我给一下httpd.conf中有关main目录的设置:
<Directory "E:/Apache Software Foundation/Apache2.2/main">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>