/以下にindex.htmlがないとき

あくまで開発環境としてのお話です。
ルートディレクトリにindex.htmlが無くても、index.shtmlや、index.php、index.cgiなどにアクセスさせます。
ターミナル等で/etc/httpd/users/自分のアカウント.confを編集します。
必ず自分のアカウント.confのバックアップを取っておきます。
Allow from all の下の行に以下を追加します。
<ifModule mod_dir.c>
DirectoryIndex index.html index.shtml index.php index.cgi
</ifModule>
Apacheを再起動します。
sudo apachectl graceful 以上で作業は終了です。

Post at 2006.01.09 22:01
2004-12-12 11:47:00 were rewritten


CATEGORY ARCHIVES

MONTHLY ARCHIVES

RECOMMENDS

FLASH Video & Sound テクニカルガイド (単行本(ソフトカバー)) ActionScript 3.0 アニメーション (単行本) ActionScript 3.0ゲームプログラミングブック (単行本) Flash Video教科書—Flash Videoの基本から応用まで Flash 3D Design Book—Swift 3DによるFlash 3D制作テクニック WebDesign Lecture BOOKS Flash Math Creativity (ペーパーバック)

LINKS

blog seo tool : track word  

↑このページのトップへ

Powered by Nucleus CMS v3.21

Hosted by heteml:we host your creativity