小fish 发表于 2018-11-13 13:01:25

apache 伪静态转到nginx

vim httpd.conf  
# view plain copy
  
#加载模块
  
LoadModule rewrite_module modules/mod_rewrite.so
  
#加载.htaccess
  
AccessFileName .htaccess
  

  
    Order allow,deny
  
    Deny from all
  
    Satisfy All
  

  
#设置为All,则读取.htaccess内容
  
view plain copy
  
Options FollowSymLinks
  
AllowOverride All


页: [1]
查看完整版本: apache 伪静态转到nginx