Browse Source

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 years ago
parent
commit
b6dbc87844
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      apache/files/RedHat/apache-2.2.config.jinja

+ 10
- 5
apache/files/RedHat/apache-2.2.config.jinja View File

# #
<Directory /> <Directory />
AllowOverride none AllowOverride none
Require all denied
Order deny,allow
Deny from all
</Directory> </Directory>


# #
<Directory "/var/www"> <Directory "/var/www">
AllowOverride None AllowOverride None
# Allow open access: # Allow open access:
Require all granted
Order allow,deny
Allow from all
</Directory> </Directory>


# Further relax access to the default document root: # Further relax access to the default document root:
# #
# Controls who can get stuff from this server. # Controls who can get stuff from this server.
# #
Require all granted
Order allow,deny
Allow from all
</Directory> </Directory>


# #
# viewed by Web clients. # viewed by Web clients.
# #
<Files ".ht*"> <Files ".ht*">
Require all denied
Order deny,allow
Deny from all
</Files> </Files>


# #
<Directory "/var/www/cgi-bin"> <Directory "/var/www/cgi-bin">
AllowOverride None AllowOverride None
Options None Options None
Require all granted
Order allow,deny
Allow from all
</Directory> </Directory>


<IfModule mime_module> <IfModule mime_module>

Loading…
Cancel
Save