Update httpd.conf

This commit is contained in:
OSPanel 2024-04-25 21:37:29 +03:00
parent b15bd90347
commit fb0d9a72ac
7 changed files with 84 additions and 42 deletions

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>

View file

@ -542,9 +542,12 @@ AddDefaultCharset utf-8
<IfModule http2_module> <IfModule http2_module>
Protocols h2c http/1.1 Protocols h2c http/1.1
</IfModule> </IfModule>
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>
@ -587,9 +590,12 @@ AddDefaultCharset utf-8
</IfModule> </IfModule>
SSLCertificateFile "$ssl_cert_file" SSLCertificateFile "$ssl_cert_file"
SSLCertificateKeyFile "$ssl_key_file" SSLCertificateKeyFile "$ssl_key_file"
<Location /> <Directory "{root_dir}/system/public_html/default">
Require all denied AllowOverride All
</Location> Options +Indexes
Require all granted
</Directory>
DocumentRoot "{root_dir}/system/public_html/default"
<Location /apacheerror/> <Location /apacheerror/>
Require all granted Require all granted
</Location> </Location>