1

访问:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^dev/(.*)/$ /out.php?q=$1 [L]
RewriteRule ^dev/(.*)/([a-z]+)$ /out.php?q=$1&s=$2 [B,L]

网址请求:

http://example.com/dev/100%25%20Booster%20Juice%20(6%20Hours)/supply

出于某种原因,上述请求会导致服务器错误,而这些:

http://example.com/dev/100%25%20Booster%20Juice%20(6%20Hours)/
http://example.com/dev/Energy%20Juice%20(6%20Hours)/supply
http://example.com/dev/Energy%20Juice%20(6%20Hours)/

工作完美,不会产生错误。我不知道为什么只有一个特定的 URL 不起作用。

4

0 回答 0