:재 작성 .... %를되는 index.php 3 층 ... HTML
이wget -nv -b -m -k -p -E -erobots=off --tries=5 --exclude-directories=calendar,users,user --domains directory http://site.com
이 같은 파일을 생성 이 :
01 : 내가 브라우저에서이 오류를 받아 봐http://site.com/index.php?blog=2&cat=21.html
:
index.php?blog=2&cat=21.html
은이 URL을 방문하려고 23,516,
Not Found
The requested URL /index.php was not found on this server.
이하는 error.log에 :
[Mon Feb 10 19:02:49 2013] [error] [client xx.xx.xx.xx] script '/var/www/site.com/htdocs/index.php' not found or unable to stat, referer: http://site.com/index.php
하지만 난 대신 % 3F를 사용하여 액세스 할 수 있습니다 '?':
http://site.com/index.php%3Fblog=2&cat=21.html
내 범위는 이전과 사이트에 대한 액세스를 허용입니다 '?'을 수정하기 위해 rewrite_mod라는 아파치를 사용하는 url 유형 ('?') '% 3F'이 (가) 있습니다. 나는 함께 tryed있다 :
RewriteRule ^index.php\? index.php\%3F [QSA,NE]
하지만 난 로그에이 오류 받아 봐 :
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
어떤 생각이 mod_rewrite를 사용하거나 다른 사람 wget과 인수를 해결하기를?
it 공장. undestand .. Cond와 함께 나중에 % i (이 경우 i = 1)와 함께 사용할 수있는 0 이상의 char을 가진 쿼리를 얻습니다. $ 1 arg 사이에()를 잡을 수 있습니다. 내부의 점은 모든 문자를 의미하므로 보호되어야합니다. 마지막에는 mod_rewrite에게 수신 된 URL을 trasform하는 방법을 알려줍니다. – jedi
거의 정확합니다. 나는 나의 대답을 편집했다. 훨씬 정확한하려면 –
! tnx. – jedi