红联Linux门户
Linux帮助

fedora下apache设置

发布时间:2008-07-22 00:21:46来源:红联作者:zhania
在fedora下apache默认是安装好的,我们只要直接启动就可以了

启动命令如下:/etc/init.d/httpd start

apache的配置和日志目录分别在/etc/httpd/conf和/ect/httpd/logs

我们写的php文件是存放到/var/www/html/下

当我们本地访问没有问题,但是其他机器访问不了的话,一般是防火墙的问题,使用/ect/init.d/iptables stop 把防火墙关闭了就可以了
文章评论

共有 1 条评论

  1. t84770 于 2008-07-22 12:47:47发表:

    学习 沙发