dz程序用的lamp环境怎么在根目录做伪静态.htaccess

问答中心分类: OneinStackdz程序用的lamp环境怎么在根目录做伪静态.htaccess
匿名用户 asked 8 年 ago
<Directory "/data/wwwroot/www.2.com">
    SetOutputFilter DEFLATE
    Options FollowSymLinks ExecCGI
    Require all granted
    AllowOverride All
    Order allow,deny
    Allow from all
    DirectoryIndex index.html index.php
</Directory>
 
直接放.htaccess文件的话,是显示404页面

1 Answers
oneinstack answered 8 年 ago
lamp 直接把.htaccess 放到网站根目录即可