今天刚安装了服务器:apache2.0.59+php5.2.3+mysql5.0.41+phpmyadmin2.10.0.2+zend3.2.6
同样一个html文件,用a.html可以打开,用index.html却打不开!
htm正常
httpd.conf里的设置
DirectoryIndex index.htm index.html index.php
另外怎么设置使服务器支持.htaccess,找了半天,也改了不少都没成功
这是设置
Options FollowSymLinks
AllowOverride all
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something 's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
#
# 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
# [url]http://httpd.apache.org/docs/2.0/mod/core.html#options[/url]
# for more information.
#
Options 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 all
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
还有什么要改的??
作者: klgd8
发布时间: 2007-06-06