- 1 名前:Name_Not_Found [2006/09/09(土) 00:19:29 ID:HbgUKOrv]
- .htaccessの書き方・使い方などに関するスレです。
【参考サイト】 ・ ミケネコの htaccess リファレンス mikeneko.creator.club.ne.jp/〜lab/web/htaccess/ ・ メモランダム MultiX.jp multix.jp/html/memo/ ・ futomi's CGI Cafe - .htaccessの小技編 www.futomi.com/lecture/htaccess/ ・ .htaccess実践活用術 www.shtml.jp/htaccess/ 【Apacheドキュメント】 ・ Apache 1.3ドキュメント httpd.apache.org/docs/ ・ Apache 2.0ドキュメント httpd.apache.org/docs-2.0/ ・ Apache 2.1(alpha)ドキュメント httpd.apache.org/docs-2.1/ ・ Apache チュートリアル: .htaccess ファイル httpd.apache.org/docs-2.0/howto/htaccess.html ・ Apache チュートリアル:認証、承認、アクセス制御 httpd.apache.org/docs-2.0/howto/auth.html ・ Apache モジュール mod_access(アクセス制御) httpd.apache.org/docs-2.0/mod/mod_access.html ・ Apache モジュール mod_auth (認証) httpd.apache.org/docs-2.0/mod/mod_auth.html ・ Apache URL Rewriting Guide (Rewrite) japache.infoscience.co.jp/rewriteguide/ ・ Apache module mod_rewrite (Rewrite) japache.infoscience.co.jp/japanese_1_3_6/manual/mod/mod_rewrite.html
- 326 名前:Name_Not_Found mailto:sage [2006/12/01(金) 20:05:25 ID:???]
- すみません、1時間ほどテンプレサイトやgoogle先生で調べたり悩んだりしているのですが、どうしてもわからないのでお教えください。。。
初歩的な質問とはおもうのですが・・・ あるページを同ドメイン内の別のページの別ファイル名のファイルに移動した場合、 Redirect permanent /hoge/test.html www.hoge.com/hogehoge/test2.html などと書いてリダイレクトするのはわかるのですが、 もしも、ディレクトリ直アクセスで、index.htmlが呼び出されている場合に、 Redirect permanent /hoge/index.html www.hoge.com/hogehoge/index.html Redirect permanent /hoge/ www.hoge.com/hogehoge/index.html とやっても、飛ばしてくれません。 このような場合には、どのような記述をすればよろしいのでしょうか。どなたか偉い人おおしえくださいませ。
- 327 名前:Name_Not_Found mailto:sage [2006/12/01(金) 20:31:32 ID:???]
- 追記。IEでは
Redirect permanent /hoge/index.html www.hoge.com/hogehoge/index.html これで飛ばしてくれるのですが、firefox等ではだめなのです・・・
|
|