From fb0d9a72ac78f95a6a762164dae4c9fb032745c7 Mon Sep 17 00:00:00 2001 From: OSPanel <93676052+OSPanel@users.noreply.github.com> Date: Thu, 25 Apr 2024 21:37:29 +0300 Subject: [PATCH] Update httpd.conf --- .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ .../ospanel_data/default/templates/httpd.conf | 18 ++++++++++++------ 7 files changed, 84 insertions(+), 42 deletions(-) diff --git a/modules/PHP-7.2/ospanel_data/default/templates/httpd.conf b/modules/PHP-7.2/ospanel_data/default/templates/httpd.conf index 252851a27..df7033721 100644 --- a/modules/PHP-7.2/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-7.2/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted diff --git a/modules/PHP-7.3/ospanel_data/default/templates/httpd.conf b/modules/PHP-7.3/ospanel_data/default/templates/httpd.conf index 252851a27..df7033721 100644 --- a/modules/PHP-7.3/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-7.3/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted diff --git a/modules/PHP-7.4/ospanel_data/default/templates/httpd.conf b/modules/PHP-7.4/ospanel_data/default/templates/httpd.conf index 252851a27..df7033721 100644 --- a/modules/PHP-7.4/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-7.4/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted diff --git a/modules/PHP-8.0/ospanel_data/default/templates/httpd.conf b/modules/PHP-8.0/ospanel_data/default/templates/httpd.conf index 98bd1de4a..8bcd152a2 100644 --- a/modules/PHP-8.0/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-8.0/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted diff --git a/modules/PHP-8.1/ospanel_data/default/templates/httpd.conf b/modules/PHP-8.1/ospanel_data/default/templates/httpd.conf index 98bd1de4a..8bcd152a2 100644 --- a/modules/PHP-8.1/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-8.1/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted diff --git a/modules/PHP-8.2/ospanel_data/default/templates/httpd.conf b/modules/PHP-8.2/ospanel_data/default/templates/httpd.conf index 98bd1de4a..8bcd152a2 100644 --- a/modules/PHP-8.2/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-8.2/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted diff --git a/modules/PHP-8.3/ospanel_data/default/templates/httpd.conf b/modules/PHP-8.3/ospanel_data/default/templates/httpd.conf index 98bd1de4a..8bcd152a2 100644 --- a/modules/PHP-8.3/ospanel_data/default/templates/httpd.conf +++ b/modules/PHP-8.3/ospanel_data/default/templates/httpd.conf @@ -542,9 +542,12 @@ AddDefaultCharset utf-8 Protocols h2c http/1.1 - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted @@ -587,9 +590,12 @@ AddDefaultCharset utf-8 SSLCertificateFile "$ssl_cert_file" SSLCertificateKeyFile "$ssl_key_file" - - Require all denied - + + AllowOverride All + Options +Indexes + Require all granted + + DocumentRoot "{root_dir}/system/public_html/default" Require all granted