http://localhost/SAMPLE-CODES/backbone-mysql-reading-json/websites
폴더 이름에 슬래시가있는 301 리디렉션이 나타나는 이유는 무엇입니까? 다음과 같이
에 대한 요청이 리디렉션됩니다 :
> Request URL:http://localhost/SAMPLE-CODES/backbone-mysql-reading-json/websites
> Request Method:GET
> Status Code:301 Moved Permanently
응답 헤더 :
> HTTP/1.1 301 Moved Permanently Date: Thu, 06 Sep 2012 14:32:41 GMT
> Server: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4
> mod_perl/2.0.4 Perl/v5.10.1 Location:
> http://localhost/SAMPLE-CODES/backbone-mysql-reading-json/websites/
> Content-Length: 417 Keep-Alive: timeout=5, max=100 Connection:
> Keep-Alive Content-Type: text/html; charset=iso-8859-1
나는이 리디렉션의 원인을 모르겠습니다합니다.
htaccess로
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [QSA,L]
아마 웹 사이트의 루트 @? 관여 할 수있는 다른 .htaccess 파일이 있습니까?이 리디렉션을하지 않았다 표시 한. – HeatfanJohn
하위 폴더 없음 htaccess로 파일. 나는 가상 호스트이 .? httpd.conf 파일의 설정은 내가 슬림 PHP 프레임 워크를 사용하고 – tucson
을 영향을 미칠 수, 나는이 무엇입니까 것을 지금 생각 : 요구 http://dev.slimframework.com/phpdocs/classes/Slim_Exception_RequestSlash.html – tucson