开启  LoadModule rewrite_module modules/mod_rewrite.so 

 

<Directory "/Users/lost/www">
#
# 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 MultiViews

#
# 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
#这里一定要为ALL
AllowOverride All 

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>

相关文章:

  • 2021-08-04
  • 2021-07-20
  • 2021-10-31
猜你喜欢
  • 2021-09-19
  • 2021-08-07
  • 2021-12-06
  • 2021-12-26
  • 2022-12-23
  • 2021-07-19
  • 2021-11-12
相关资源
相似解决方案