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.
我想将 .gif 重定向到 x1.php。由于某种原因,它不起作用
.htaccess
Options +FollowSymlinks RewriteEngine on RewriteRule .(gif)$ x1.php [NC]
这里到底有什么问题?
尝试省略 () 并掩盖点。
RewriteRule \.gif$ x1.php [NC]