Kaynağa Gözat

Merge pull request #187 from louis-haddrell/master

Replaced Apache 2.4 syntax in RedHat Apache 2.2 config (fixes #115)
tags/v0.37.4
Niels Abspoel 7 yıl önce
ebeveyn
işleme
b6dbc87844
1 değiştirilmiş dosya ile 10 ekleme ve 5 silme
  1. +10
    -5
      apache/files/RedHat/apache-2.2.config.jinja

+ 10
- 5
apache/files/RedHat/apache-2.2.config.jinja Dosyayı Görüntüle

@@ -167,7 +167,8 @@ ServerAdmin root@localhost
#
<Directory />
AllowOverride none
Require all denied
Order deny,allow
Deny from all
</Directory>

#
@@ -190,7 +191,8 @@ DocumentRoot "/var/www/html"
<Directory "/var/www">
AllowOverride None
# Allow open access:
Require all granted
Order allow,deny
Allow from all
</Directory>

# Further relax access to the default document root:
@@ -219,7 +221,8 @@ DocumentRoot "/var/www/html"
#
# Controls who can get stuff from this server.
#
Require all granted
Order allow,deny
Allow from all
</Directory>

#
@@ -235,7 +238,8 @@ DocumentRoot "/var/www/html"
# viewed by Web clients.
#
<Files ".ht*">
Require all denied
Order deny,allow
Deny from all
</Files>

#
@@ -324,7 +328,8 @@ LogLevel warn
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
Order allow,deny
Allow from all
</Directory>

<IfModule mime_module>

Yükleniyor…
İptal
Kaydet