Strict Standards: Non-static method Soojung::addReferer() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/settings.php on line 79

Warning: Cannot modify header information - headers already sent by (output started at /home/lifthrasiir/sites/sapzil.info/soojung/settings.php:79) in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Counter.class.php on line 63

Strict Standards: Non-static method Entry::getEntry() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/entry.php on line 51

Strict Standards: Non-static method Soojung::entryIdToFilename() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Entry.class.php on line 182

Strict Standards: Non-static method Soojung::queryFilenameMatch() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Soojung.class.php on line 55
TokigunStudio3 | 블로그: 주소 변경

내용으로 바로 넘어 가기


TokigunStudio3

228 / 3282   


더 이상 이 블로그는 운영되지 않습니다. 새 블로그로 가 주세요.

주소 변경

2005/04/03 AM 01:07 | 소식/토끼군 작업실 | 2 comments | 0 trackbacks | AllBlog: vote, to pocket

이 블로그는 아직 어떻게 해야 할 지 난감해서 안 고치고 있으나, 이번에 문득 생각나서 sapzil.info에 있던 꽤 많은 페이지들을 tokigun.net 쪽으로 옮겼다.

가장 큰 변화는 http://pandora.sapzil.info/dev/에 몰려 있던 페이지들을 http://dev.tokigun.net/으로 내려 놓았다는 것. 딱 하나의 예외가 있는데 obfuscation collection은 http://page.tokigun.net/obfuscation/으로 옮겼다. (성격이 좀 다른 편이어서) 그 외에 page.tokigun.net 같은 서브도메인에 index.php를 일일이 달아 두긴 했는데.. 그리 도움은 되지 않는다. (썰렁해서)


mod_rewrite 같은 거 써 달라고 서버 관리자께 부탁하는 것이 귀찮아서 그냥 .htaccess로 해결했다. 우째 하냐 하면... 일단 .htaccess에 다음과 같은 내용을 넣는다. (obfuscation collection의 경우)
ErrorDocument 403 /dev/obfuscation/_moved.php
ErrorDocument 404 /dev/obfuscation/_moved.php
그리고 _moved.php에 다음과 같은 php 코드를 넣는다.
<?php
$new = preg_replace('#^/dev/obfuscation/#', 'http://page.tokigun.net/obfuscation/', $_SERVER["REQUEST_URI"]);
header("Location: $new");
?>
이렇게 하면 HTTP 403/404 에러가 날 때 자동으로 원래 페이지로 들어 가게 된다. 만세! :)

TrackBack URL: http://sapzil.info/soojung/trackback.php?blogid=562

Comment: 하늘이 (1272/04/20 AM 11:12)

와~ 다시 색상이 원상복구 되었어요. (한발 늦었...)

Comment: 토끼군 (2005/04/03 AM 02:15)

하늘이: 흐흐흐 ~_~ 이미 좀 되었죠 =3

Copyright (c) 1995-2005, Kang Seonghoon (Tokigun).