-1

我在 Fedora 上遇到了 apache 问题,问题如下。

我最近有时保持不变,比如说一年,我一直在进行软件更新,但我希望配置没有改变,而是他们改变了。

更具体地说,假设我一年前在我的服务器上有两个项目,并且将虚拟主机设置为索引,以便我可以在服务器启动时将项目视为目录并快速进入每个项目,但知道配置有点当我在浏览器中键入 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 回答