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