Jzd_2019 2016-12-14 05:32 采纳率: 0%
浏览 1172

apache2配置后遇到的问题请大家帮忙解决下,学习的初级阶段

Sets the default security model of the Apache2 HTTPD server. It does

not allow access to the root filesystem outside of /usr/share and /var/www.

The former is used by web applications packaged in Debian,

the latter may be used for local directories served by the web server. If

your system is serving content from a sub-directory in /srv you must allow

access here, or in any related virtual host.


Options FollowSymLinks
AllowOverride None
Require all denied


AllowOverride None
Require all granted


Options Indexes FollowSymLinks
AllowOverride None
Require all granted

#

Options Indexes FollowSymLinks

AllowOverride None

Require all granted

#
我需要修改哪里的文字次啊能让我正常使用,提示的错误是
apache2: Syntax error on line 164 of /etc/apache2/apache2.conf: without matching section
Action 'start' failed.
The Apache error log may have more information.

  • 写回答

1条回答 默认 最新

  • dabocaiqq 2016-12-14 17:29
    关注
    评论

报告相同问题?

悬赏问题

  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复