0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Apacheのhttpd.confやバーチャルホストの設定がいまいちわかりません。

Posted at

.htaccessにグローバルipを書いて
自分以外アクセス制限したいんですが
.htaccessの内容有効にするには
httpd.cofに書けばいいんでしょうか?

あと今のApacheは、
バーチャルホストはhttpd.confじゃなくて
以下にAIに聞いたんですがいまいちよくわかりません。
https://g.co/gemini/share/22b718dc63c2

特にここがわかりません。
パターン①Linux系 (Debian, Ubuntuなど):の
設定バーチャルホストのファイルの場所と

パターン②Mac系のバーチャルホストの設定ファイルの書く場所がこのAIで聞いたURLに書いてあるんですが、

Dockerでしかもデビアン系Linuxで立ち上げた場合

どこに設定ファイル書きこめばいいでしょうか?
Linuxのパターン①でいいんでしょうか?
ですが、Linuxのパターン①の場合CentOS, Fedoraの例になってます。

分かる方、どうかよろしくお願いします。m(__)m

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?