我希望这在子目录中没有效果.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]
答案 0 :(得分:0)
您可以在子目录中使用.htaccess:
RewriteEngine off