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.