gnl

java 学习
随笔 - 17, 文章 - 0, 评论 - 2, 引用 - 0
数据加载中……

apache服务器使用笔记

apache解压版配置

    第一个地方
                    ServerRoot "E:/PG/joomla/apche/Apache24"   (指定自己解压的位置)
    第二个地方
                   
                DocumentRoot "E:/PG/joomla/apche/Apache24/htdocs"   
                <Directory "E:/PG/joomla/apche/Apache24/htdocs">  (指定htdocs的位置)
    第三个地方               
                ScriptAlias /cgi-bin/ "E:/PG/joomla/apche/Apache24/cgi-bin/" (指定cgi-bin的位置)
   
    第四个地方
                <Directory "E:/PG/joomla/apche/Apache24/cgi-bin">
                AllowOverride None
                Options None
                Require all granted
                </Directory> (指定directory 的位置)



配置apache解压版遇启动时出现下面一个提示信息
E:\PG\joomla>httpd
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.105. Set the 'ServerName' directive globally to suppress this message

在网上查了一下在这里做一下记录

# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80   (去掉前面的注释即可)

#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#

posted on 2012-08-24 21:28 一江 阅读(371) 评论(0)  编辑  收藏 所属分类: 服务器


只有注册用户登录后才能发表评论。


网站导航: