인코딩 된 슬래시 (/) 문자 (% 2f)를 올바르게 전달하기 위해 mod_proxy를 가져올 수 없음 없으면 AllowEncodedSlashes아파치가 /error/HTTP_NOT_FOUND.html.var서버

리디렉션 ntung-gitblit.localhost->으로 설정된 가상 호스트가 myserver:1279있습니다. 그러나 정방향 인코딩 슬래시 ( %2f) 에서는 작동하지 않습니다 . 액세스하려는 URL은

http://ntung-gitblit.localhost/ABC%2fXYZ

이 없으면 AllowEncodedSlashes아파치가 /error/HTTP_NOT_FOUND.html.var서버 에서 액세스 를 시도 합니다. 내부 URL이 다음과 같이 설정 AllowEncodedSlashes되도록 설정 하면On

http://myserver:1279/ABC/XYZ

다음 URL이 설정 AllowEncodedSlashes되도록 설정 하면NoDecode

http://myserver:1279/ABC%252fXYZ

다시 말해, 이스케이프 또는 이스케이프입니다. 질문 : 어떻게하면 myserver:1279/ABC%2fXYZ되나요?



답변

죄송합니다, 단지 (3 대답 그것을 가지고 여기 ), 솔루션을 사용하는 것입니다 nocanonProxyPass지시,

AllowEncodedSlashes On
ProxyPass / http://myserver:1279/ nocanon

더 이상 도움이되지 않으면 질문을 삭제할 수 있습니다.