Mittwoch, 6. Juli 2011

Google Plus und Twitter redirection

Hab im Netz jetzt schon paar Anleitungen für apache .htaccess gesehen, aber nix für lighty.
Deswegen hab ich das mal selber gemacht und geb das somit hier mal weiter :)
$HTTP["host"] == "DOMAIN" {
    url.redirect = ( "^/\+" => "https://plus.google.com/EWIGLANGEZAHL",
                     "^/\@" => "https://twitter.com/#!/USERNAME" )
    url.redirect-code = 301
}


edit:
so siehts z.B. bei mir aus:

http://burn3r.de/+
http://burn3r.de/@