Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人有一个简单的方法来 .htaccess 曾经是 .asp 到现在是 .php 的所有页面。例如 index.asp 现在是 index.php 等。服务器是 apache。
RewriteEngine on RewriteRule ^(.+)\.asp$ $1.php