도움이 되었습니까?

해결책

RewriteRule ^([^\.\?]+)/?(\?.*)?$ /$1.aspx$2 [L]

다른 팁

What version of ISAPI_Rewrite you are using - 2 or 3.

The v3 syntax is:

RewriteBase /
RewriteCond %{REQUEST_URI}.aspx -f
RewriteRule ^([^/.]+)$ /$1.aspx [L]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top