Redirect från turfa.se till turfgame.com saknar snedstreck!
Posted: 18 Apr 2012 20:59
Om jag försöker gå till http://www.turfa.se/user/TurfBlekingeIT så hamnar jag på http://turfgame.comuser/TurfBlekingeIT och det är ingen giltig adress!
Felet är antagligen att Apache-konfigurationen for turfa.se innehåller:
när det borde vara:
Notera snedstreck (slash) på slutet!
Code: Select all
$ curl -i 'http://www.turfa.se/user/TurfBlekingeIT'
HTTP/1.1 301 Moved Permanently
Date: Wed, 18 Apr 2012 18:55:15 GMT
Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17 OpenSSL/0.9.8q DAV/2 PHP/5.3.8 with Suhosin-Patch
Location: http://turfgame.comuser/TurfBlekingeIT
Content-Length: 246
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://turfgame.comuser/TurfBlekingeIT">here</a>.</p>
</body></html>
Code: Select all
Redirect 301 / http://turfgame.com
Code: Select all
Redirect 301 / http://turfgame.com/