- 论坛徽章:
- 0
|
大家好,我在AIX53的机器上装了httpd-2.2.11-1.aix5.1.ppc.rpm, 以及相关的依赖包。这些都是从http://oss4aix.org/download/RPMS下载的。
下载安装,配置,然后运行apachectl start,
用ps -ef |grep httpd 可以看到httpd服务正在运行。
hv8plus04 amp $ ps -ef|grep httpd
apache 221314 286872 0 05:46:42 - 0:00 /opt/freeware/sbin/httpd -k start
root 286872 1 0 05:20:56 - 0:00 /opt/freeware/sbin/httpd -k start
apache 332004 286872 0 05:46:42 - 0:00 /opt/freeware/sbin/httpd -k start
apache 348286 286872 0 05:46:42 - 0:00 /opt/freeware/sbin/httpd -k start
apache 372948 286872 0 05:46:42 - 0:00 /opt/freeware/sbin/httpd -k start
apache 393362 286872 0 05:46:46 - 0:00 /opt/freeware/sbin/httpd -k start
然后,我又在/opt/freeware/etc/httpd/conf/extra目录下面加入一个test.conf文件:
- Alias /web "/web"
- <Directory "/web">
- Options Indexes
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
复制代码
/web目录是存在的,我在里面创建了index.html文件。
接着,我用浏览器和wget访问该服务器 http://ip/web/index.html,发现httpd服务器没有响应。
请问这是怎么回事呢? 谢谢! |
|