mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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
|
EO_CONFIG_F
|
||||||
|
|
||||||
cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F
|
cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F
|
||||||
|
ServerTokens Prod
|
||||||
<Directory "/var/www/html">
|
<Directory "/var/www/html">
|
||||||
Options Indexes FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
@ -632,8 +632,9 @@ include (\$ownDir . "config_process.php");
|
|||||||
EO_CONFIG_F
|
EO_CONFIG_F
|
||||||
|
|
||||||
cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F
|
cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F
|
||||||
|
ServerTokens Prod
|
||||||
<Directory "/var/www/html">
|
<Directory "/var/www/html">
|
||||||
Options Indexes FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
@ -640,8 +640,9 @@ EO_CONFIG_F
|
|||||||
|
|
||||||
#Enable allow Override
|
#Enable allow Override
|
||||||
cat > /etc/apache2/conf-enabled/pandora_security.conf << EO_CONFIG_F
|
cat > /etc/apache2/conf-enabled/pandora_security.conf << EO_CONFIG_F
|
||||||
|
ServerTokens Prod
|
||||||
<Directory "/var/www/html">
|
<Directory "/var/www/html">
|
||||||
Options Indexes FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user