如何在子目录中禁用它

时间:2014-12-15 21:35:36

标签: .htaccess mod-rewrite

我希望这在子目录中没有效果.htaccess在root中我想在子目录中禁用这些功能> / contact /<< = / public_html / contact /

# Use PHP54CGI as default
AddHandler fcgid54-script .php
DirectoryIndex index.php
Options -MultiViews
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(\w+)/?$ live.php?content=$1 [L,QSA]

1 个答案:

答案 0 :(得分:0)

您可以在子目录中使用.htaccess:

RewriteEngine off