3xxlxxlxxl6654
注册会员

UID 93901
精华
0
积分 108
帖子 59
金钱 108 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2007-6-13 来自 河北
状态 离线
|
[广告]: Enom域名自助付费 自助注册 自助PUSH 主流域名COM等一律57.99元年
配置文件为什么总是出错!!高手帮帮忙吧!!
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
DocumentRoot "C:\dwphp"
-----------------------------------------------
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:\dwphp">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
-------------------------------------------------------
# ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"
ScriptAlias \php\ "C:\PHP\"
---------------------------------------------------------
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory "C:\PHP\">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
----------------------------------------------------------
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php "\php\php.exe"
上面是对Apache网站服务器配置文件的修改,为什么总是不能运行index.php文件?
- - - index.php- - - -
<?php phpinfo(): ?>
- - - - - - - - - - - - - -
各位帮帮忙吧!我改了好几次了都不行啊!真郁闷!!
|
|