Address 'Docker: multiple issues' #7
|
@ -16,11 +16,19 @@ ErrorLog /dev/null
|
||||||
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
|
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
|
||||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
RewriteCond %{REQUEST_FILENAME}.php -f
|
||||||
RewriteRule .* $0.php
|
RewriteRule .* $0.php
|
||||||
Options Indexes FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
# deny access to private resources
|
||||||
|
<Directory "/var/www/html/4get/data">
|
||||||
|
Require all denied
|
||||||
|
<Files "*">
|
||||||
|
Require all denied
|
||||||
|
</Files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
LoadModule rewrite_module modules/mod_rewrite.so
|
LoadModule rewrite_module modules/mod_rewrite.so
|
||||||
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||||
LoadModule authn_file_module modules/mod_authn_file.so
|
LoadModule authn_file_module modules/mod_authn_file.so
|
||||||
|
|
|
@ -21,12 +21,18 @@ ErrorLog /dev/null
|
||||||
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
|
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
|
||||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
RewriteCond %{REQUEST_FILENAME}.php -f
|
||||||
RewriteRule .* $0.php
|
RewriteRule .* $0.php
|
||||||
Options Indexes FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
# deny access to private resources
|
||||||
|
<Directory "/var/www/html/4get/data">
|
||||||
|
Require all denied
|
||||||
|
<Files "*">
|
||||||
|
Require all denied
|
||||||
|
</Files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
LoadModule rewrite_module modules/mod_rewrite.so
|
LoadModule rewrite_module modules/mod_rewrite.so
|
||||||
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||||
|
|
Loading…
Reference in New Issue