-1

Fedora の Apache で問題が発生しました。問題は次のとおりです。

私は最近、時々手付かずのままにしてきました.1年としましょう。私は常にソフトウェアの更新を行ってきましたが、構成が変更されていないことを期待していました。代わりに変更されました。

より具体的に言うと、1 年前にサーバーに 2 つのプロジェクトがあり、仮想ホストがインデックスに設定されていたため、サーバーの起動時にプロジェクトをディレクトリとして表示し、すべてのプロジェクトにすばやくアクセスできるとしましょう。ブラウザーに localhost と入力すると、プロジェクト ディレクトリに挿入された /urs/share/noindex からのページが表示されるため、紛失または上書きされ、プロジェクト内のディレクトリにアクセスすることさえできず、「許可が拒否されました」と表示されます..

許可の問題ですか?

4

1 に答える 1

0

問題は、fedora で構成ファイルを追加するソフトウェアの更新にありました。

# This configuration file enables the default "Welcome" page if there
# is no default index page present for the root URL.  To disable the
# Welcome page, comment out all the lines below. 
#
# NOTE: if this file is removed, it will be restored on upgrades.
#
#<LocationMatch "^/+$">
#    Options -Indexes
#    ErrorDocument 403 /.noindex.html
#</LocationMatch>

#<Directory /usr/share/httpd/noindex>
#    AllowOverride None
#    Require all granted
#</Directory>

#Alias /.noindex.html /usr/share/httpd/noindex/index.html

皆さん気をつけてください.. 2時間も無駄にしました...

于 2015-11-05T21:17:48.613 に答える