我正在使用搜索功能,但这些解决方案似乎都不适用于我。我有以下.htaccess文件
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(api) - [L]
RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?action=$1 [L,QSA]
ErrorDocument 404 /tsi/index.php
ErrorDocument 403 /tsi/index.php
<FilesMatch ".*\.(php|tpl)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<Files "index.php">
Allow from all
</Files>
<FilesMatch "hashgenerator\.(php)$">
Satisfy Any
Allow from all
</FilesMatch>
<FilesMatch "xmlgenerator\.(php)$">
Satisfy Any
Allow from all
</FilesMatch>
<FilesMatch "api\.(php)$">
Satisfy Any
Allow from all
</FilesMatch>
我有一个名为&#34; api&#34;的文件夹。我希望被.htaccess忽略。你能帮我吗?
非常感谢