Gea-Suan Lin's BLOG

Monday, October 09, 2006

Blog 換 Web Server

換 IP address,順便從 2.0 換 ,舊的 VirtualHost 還有跑,不過打算下午就整個拿掉。

在換的時候本來是採用舊的方法,也就是用 mod_rewrite 指定某幾個目錄丟給 index.php:lighttpd + WordPress 2.0 對於 Permlink 的處理,不過剛剛在 上發現有人給出透過 404 handler 處理的方法,這樣就跟原本 .htaccess 裡的設定等價 (非目錄、非檔案就丟給 index.php),看起來棒多了:WordPress with clean urls on Lighttpd