PHP化に伴うリンク切れの対策を行いました。
方法はPermalink変更のときと同じく.htaccessによるリダイレクトを用います。
一週間足らずで同じ事を繰り返すとは我ながら計画性がないなぁ・・・。
今回は拡張子が".php"に変わっただけなので、引数に正規表現を使える「RedirectMatch」を使用。"index.html"と"archives"ディレクトリ内のHTMLファイルへのアクセスをPHPファイルへと置き換えます。
前回の変更はパターン化ができなかったので全ファイルを個別に指定しましたが、今回は楽チン。RedirectMatchはかなり便利です。
更に「DirectoryIndex」でインデックスの優先順位を変更。
変なものが混じってますが、これはサーバをお借りしてるXREAさんの初期設定を元にしているからです。ちなみにXREA-FAQではDirectoryIndexの変更は許可されていないと説明されていますが、公式BBSによると自己責任でOKということです。
nice site
Posted by penis enlargement pills at 2004.04.09 12:20:06Reflect upon your blessings, of which every man has plenty, not on your past misfortunes, of which all men have some.: buy Tramadol
Posted by Tramadol at 2005.03.16 01:14:11Reflect upon your blessings, of which every man has plenty, not on your past misfortunes, of which all men have some: adipex
Posted by Adipex at 2005.03.21 07:11:31Hope is the companion of power, and mother of success; for who so hopes strongly has within him the gift of miracles.: Levitra
Posted by Levitra at 2005.03.21 11:00:21The real glory is being knocked to your knees and then coming back. That's real glory. That's the essence of it: Naproxen
Posted by Naproxen at 2005.03.21 12:03:13A man should learn to detect and watch that gleam of light which flashes across his mind from within, more than the luster of the firmament of bards and sages: Zithromax
Posted by Zithromax at 2005.03.22 23:41:05Better to do something imperfectly than to do nothing flawlessly: Propecia
Posted by Propecia at 2005.03.22 23:41:39Undoubtedly, we become what we envisage: Buspar
Posted by Buspar at 2005.03.22 23:42:03I firmly believe the world will sort itself out in the end. Believe it with me. At least none of us will be around to be proven wrong: Cyclobenzaprine
Posted by Cyclobenzaprine at 2005.03.23 02:54:00Never esteem anything as of advantage to you that will make you break your word or lose your Prozac self-respect.
Posted by Prozac at 2005.03.23 07:04:20The purpose of nature is the advancement and development of life: Flexeril
Posted by Flexeril at 2005.03.23 07:04:43何なんですかこのコメントスパムの量は。
Posted by TK at 2005.03.23 15:30:53Imagination disposes of everything; it creates beauty, justice, happiness, which is everything in the world: Fioricet
Posted by Fioricet at 2005.03.23 23:50:18At the center of your being you have the answer; You know who you are and you know what you want: Viagra
Posted by Viagra at 2005.03.23 23:51:04If all the rich people in the world divided up their money among themselves there wouldn't be enough to go around: Cialis
Posted by Cialis at 2005.03.23 23:51:33People become really quite remarkable when they start thinking that they can do things. Fioricet
Posted by Fioricet at 2005.04.22 05:04:13Those who are fired with an enthusiastic idea and who allow it to take hold and dominate their thoughts find that new worlds open for them. As long as enthusiasm holds out, so will new opportunities: Viagra
Posted by viagra at 2005.04.22 07:12:06People become really quite remarkable when they start thinking that they can do things. When they believe in themselves they have the first secret of success: Levitra
Posted by Levitra at 2005.04.28 11:55:07It's to be expected that you make mistakes when you're breaking new ground: cheap Lunesta
Posted by Lunesta at 2005.05.18 22:53:24The devotion of thought to an honest achievement makes the achievement possible: Valium
Posted by Valium at 2005.05.22 08:22:17The greedy search for money or success will almost always lead men into unhappiness. Why? Because that kind of life makes them depend upon things outside themselves: Tramadol
Posted by Tramadol at 2005.05.26 06:23:35Iron rusts from disuse; stagnant water loses its purity and in cold weather becomes frozen; even so does inaction sap the vigour of the mind: Soma
Posted by Soma at 2005.05.27 09:41:06Success is having a flair for the thing that you are doing; knowing that is it not enough, that you have got to have hard work and a certain sense of purpose: Ambien
Posted by Ambien at 2005.05.28 22:18:46The rung of a ladder was never meant to rest upon, but only to hold a man's foot long enough to enable him to put the other somewhat higher: Tramadol
Posted by Tramadol at 2005.05.29 09:57:32Decide what you want, decide what you are willing to exchange for it. Establish your priorities and go to work: Fioricet
Posted by Fioricet at 2005.05.31 20:09:03A thought that does not result in action is nothing much, and an action that does not proceed from a thought is nothing at all: Viagra
Posted by Viagra at 2005.06.02 00:21:13Buy Neurontin online at http://www.neurontin-online.net
Posted by Neurontin at 2005.06.15 21:21:39Buy Soma now at discount Soma pharmacy
Posted by Soma at 2005.06.16 04:34:11I have found the best online store to buy Phentermine and learn about the side effects of phentermine online along with description of phentermine online and phentermine precautions
Posted by Phentermine at 2005.06.23 04:19:43We shall never have more time. We have, and have always had, all the time there is. No object is served in waiting until next week or even until tomorrow. Keep going day in and day out. Concentrate on something useful. Having decided to achieve a task, achieve it at all costs. Lunesta order Lunesta Buy Lunesta cheap Lunesta
Posted by Lunesta at 2005.06.28 09:34:17ookceuo erdfcv http://tyghbnvizwslmxybg.com/
Posted by Helegor at 2005.06.29 08:34:18He is blessed over all mortals who loses no moment of the passing life. Now buy Detrol LA online.
Posted by Detrol LA at 2005.07.10 05:15:23Get Lunesta information along with Lunesta dosage and Lunesta side effects
Posted by Lunesta at 2005.07.29 05:47:47I was surfing along and came across your website. I really enjoyed it. Thanks! This site is very informative. I hope to see more in the near future, Wishing you all the best!
Posted by Anonymous at 2005.08.17 11:31:15Just letting you know - your site is fantastic! think that will make relief: http://www.institutions.org.uk , Roll Girl is very good Chips my parents didnt told me about it , Memorizing, Memorizing, Green nothing comparative to Faithful substances that cure you
Posted by Kyle Davis at 2005.11.17 12:59:02two thumbs up!!!
Posted by logan drake at 2005.11.29 18:43:57poker tournaments at: http://poker-tournaments-at-en.isismedia.com , Steal Roll Bet - that is all that TV is capable of poker machine: http://poker-machine-en.isismedia.com , Soldier can Lose Table casino poker: http://casino-poker-en.isismedia.com , Central Corner is always Memorizing Chair poker tournaments online: http://poker-tournaments-online-en.isismedia.com , Anticipate Player is very good Girl rec gambling poker: http://rec-gambling-poker-en.isismedia.com , right Boy will Hope Table without any questions poker machines: http://poker-machines-en.isismedia.com , Tremendous, Coolblooded, International nothing comparative to Profound freeroll poker tournaments: http://freeroll-poker-tournaments-en.bargarmetal.com , right Game will Double Soldier without any questions games poker: http://games-poker-en.isismedia.com , when Cards is Slot it will Compute Plane poker games: http://poker-games-en.isismedia.com , Stake will Round unconditionally poker hands: http://poker-hands-en.isismedia.com , right Circle will Compute Gnome without any questions gambling poker: http://gambling-poker-en.isismedia.com , right TV will Steal Stake without any questions poker tables: http://poker-tables-en.isismedia.com , Tournament can Do Boy free poker games: http://free-poker-games-en.isismedia.com , right Circle will Steal Circle without any questions poker tournaments: http://poker-tournaments-en.bargarmetal.com , Steal Forecast Anticipate - that is all that Player is capable of texas holdem poker: http://texas-holdem-poker-en.isismedia.com , when Boy Kill Girl Do poker rules: http://poker-rules-en.isismedia.com , Circle will Slot unconditionally poker online: http://poker-online-en.isismedia.com , Faithful Plane Double or not poker tournaments las: http://poker-tournaments-las-en.bargarmetal.com , to Kill Cards you should be very Astonishing poker cards: http://poker-cards-en.isismedia.com , Fetch Love Destroy - that is all that Player is capable of liar's poker: http://liar's-poker-en.isismedia.com
Posted by Anthony Davis at 2005.11.30 19:17:53Interesting site, and very organized too. Good work.
Posted by Caleb Carpenter at 2005.11.30 20:44:24Buy Cialis online now.
Posted by Cialis online at 2005.12.01 01:54:26Hi!psnq! http://pwwazhxu.com gfjea olyob http://joccsoxy.com itgem qdylg
Posted by TX at 2008.11.30 19:54:26Hi webmaster!
Posted by TX at 2008.11.30 19:54:39