Sunucu yinelenen eğik kaldırır

0 Cevap php

server removes duplicate slashes from url, if i try to get http://mysite.com/a//b/

ile htaccess.:

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /index.php?r=$1 [L]

string that comes to php script is "a/b/" but expected "a//b/" how can i disable removing slashes from url?

0 Cevap