Warum erhalte ich eine 301-Umleitung zum Ordnernamen mit einem Schrägstrich?
Eine Bitte anhttp://localhost/SAMPLE-CODES/backbone-mysql-reading-json/websites
wird wie folgt umgeleitet:
> Request URL:http://localhost/SAMPLE-CODES/backbone-mysql-reading-json/websites
> Request Method:GET
> Status Code:301 Moved Permanently
Antwort-Header:
> 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
Ich bin nicht sicher, was diese Umleitung verursacht.
Ich habe folgende .htaccess in Ordnerc:\xampp\htdocs\SAMPLE-CODES\backbone-mysql-reading-json\
:
.zugang
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]