Apache2.x 【新鯖入 ..
[
2ch
|
▼Menu
]
■コピペモード
□
スレを通常表示
□
オプションモード
□このスレッドのURL
■項目テキスト
290:289 03/06/20 05:57 今、シャワー浴びてたら自己解決がひらめきました。。 40時間くらい悩んでいたのに、一瞬で。。 http://xxx.com/にアクセスした場合、まず、DirectoryIndexが処理されて http://xxx.com/index.html をAliasMatchするため、0文字ではないという事なのでしょうか。 とりあえず、 AliasMatch ^/([^/]+)\.([^/]+) /var/www/html/$1.$2 でルート直下は処理する事でうまくいきました。 DocumentRoot指定する意味が無くなっちゃった感じですが、、 お目汚し失礼しました。 291:nobodyさん 03/07/13 17:47 Apache自体初心者なんですが、 httpd.confを見たら、 なぜ、ドキュメントルートを指定する箇所が、2つもあるのですか? (ちなみにWin版Apache 2.0.47です) あるいは↓の後者は、別の意味なんでしょうか? # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" # # This should be changed to whatever you set DocumentRoot to. # <Directory "C:/Program Files/Apache Group/Apache2/htdocs">
次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
レスジャンプ
mixiチェック!
Twitterに投稿
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch
4681日前に更新/153 KB
担当:undef