ph033378 发表于 2018-11-26 12:24:23

apache开启.htaccess支持

打开apache的配置文件httpd.conf  1.把#LoadModule rewrite_module modules/mod_rewrite.so前面的#去掉。
  2.找到
  #
  # 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
  把 AllowOverride None 改为 AllowOverride All

页: [1]
查看完整版本: apache开启.htaccess支持