13167 delete autoindex and add prod to apache config
This commit is contained in:
parent
e7fefdebe9
commit
c2d8dac885
|
@ -521,8 +521,9 @@ include (\$ownDir . "config_process.php");
|
|||
EO_CONFIG_F
|
||||
|
||||
cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F
|
||||
ServerTokens Prod
|
||||
<Directory "/var/www/html">
|
||||
Options Indexes FollowSymLinks
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
|
|
@ -632,8 +632,9 @@ include (\$ownDir . "config_process.php");
|
|||
EO_CONFIG_F
|
||||
|
||||
cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F
|
||||
ServerTokens Prod
|
||||
<Directory "/var/www/html">
|
||||
Options Indexes FollowSymLinks
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
|
|
@ -640,8 +640,9 @@ EO_CONFIG_F
|
|||
|
||||
#Enable allow Override
|
||||
cat > /etc/apache2/conf-enabled/pandora_security.conf << EO_CONFIG_F
|
||||
ServerTokens Prod
|
||||
<Directory "/var/www/html">
|
||||
Options Indexes FollowSymLinks
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
|
Loading…
Reference in New Issue