2

如何将 .htaccess 转换为 web.config?

Options All -FollowSymLinks -MultiViews -Indexes
DirectoryIndex bot.php
<FilesMatch "\.(htaccess|php|xml|ini)$">
    Order Allow,Deny
    Deny from all
    Satisfy all
</FilesMatch>
<FilesMatch "bot\.php">
    Order Allow,Deny
    Allow from all
</FilesMatch>

谢谢 :)

4

0 回答 0