13167 delete autoindex and add prod to apache config

This commit is contained in:
rafael 2024-03-25 12:00:52 +01:00
parent e7fefdebe9
commit c2d8dac885
3 changed files with 6 additions and 3 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>