Htaccess - Unsafe URL with URL rewritten without UnsafeAllow3F

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Htaccess - Unsafe URL with URL rewritten without UnsafeAllow3F

Ошибка 403:

 AH10508: Unsafe URL with %3f URL rewritten without UnsafeAllow3F, referer:


Решение - заменить в Rewrite правилах .htaccess

RewriteRule ^wiki/(.*)$ /index.php?title=$1 [PT,L,QSA]

на

RewriteRule ^wiki/(.*)$ /index.php?title=$1 [PT,UnsafeAllow3F,L,QSA]



PT флаг:

https://httpd.apache.org/docs/2.4/rewrite/flags.html#:~:text=The%20PT%20flag%20implies%20the,htaccess%20files.