アプリ版:「スタンプのみでお礼する」機能のリリースについて

awsで wordpressのhttpd.conf の修正をしたいのですが、

sudo vim /etc/httpd/conf/httpd.confを入力してAllowOverride を None から All に変更したいのですが、以下のようなスクリプトが見当たりません。どのようにしたら確認できますか?

<Directory "/var/www/html">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#o …
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>

A 回答 (2件)

『当該ファイル"httpd.conf"が見つからない。

』がご質問の趣旨と判断します。
以下のコマンドでルートから全ファイルシステムを検索し、同名ファイルを探してみたら如何でしょうか...

find / -name "httpd.conf" -print
    • good
    • 0

httpd.confの場所が違っているのかもしれません。


探してみたらいいと思います。
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!

このQ&Aを見た人はこんなQ&Aも見ています


このQ&Aを見た人がよく見るQ&A