首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

fedora 设置 apache

作者:佚名  来源:不详  发布时间:2008-8-3 15:16:00
在fedora下apache默认是安装好的,我们只要直接启动就可以了

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

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

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

当我们本地访问没有问题,但是其他机器访问不了的话,一般是防火墙的问题,使用/ect/init.d/iptables stop 把防火墙关闭了就可以了
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图