diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index 9f8bbe74b8..19644327c2 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -148,7 +148,7 @@
Depending on your web server, you may have to configure your server to deny web access to the cache/
, files/
, store/
and other directories. This is to prevent users from accessing sensitive files.
Depending on your web server, you may have to configure your server to deny web access to the cache/
, files/
, includes
, phpbb
, store/
, and vendor
directories. This is to prevent users from accessing sensitive files.
For Apache there are .htaccess
files already in place to do this for you. Similarly, for Windows based servers using IIS there are web.config
files already in place to do this for you. For other webservers, you will have to adjust the configuration yourself. Sample files for nginx and lighttpd to help you get started may be found in docs/
directory.
+ For Apache there are .htaccess
files already in place to do this for the most sensitive files and folders. We do however recommend to completely deny all access to the aforementioned folders and their respective subfolders in your Apache configuration.
+ On Apache 2.4, denying access to the phpbb
folder in a phpBB instance located at /var/www/html/
would be accomplished by adding the following access rules to the Apache configuration file (typically apache.conf):
+
+<Directory /var/www/html/phpbb/*> + Require all denied +</Directory> +<Directory /var/www/html/phpbb> + Require all denied +</Directory>+
The same settings can be applied to the other mentioned directories by replacing phpbb
by the respective directory name. Please note that there are differences in syntax between Apache version 2.2 and 2.4.
For Windows based servers using IIS there are web.config
files already in place to do this for you. For other webservers, you will have to adjust the configuration yourself. Sample files for nginx and lighttpd to help you get started may be found in the docs/
directory.