

For other webservers, you will have to adjust the configuration yourself. Please note that there are differences in syntax between Apache version 2.2 and 2.4.įor Windows based servers using IIS there are web.config files already in place to do this for you. The same settings can be applied to the other mentioned directories by replacing phpbb by the respective directory name. 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 nf): We do however recommend to completely deny all access to the aforementioned folders and their respective subfolders in your Apache configuration. htaccess files already in place to do this for the most sensitive files and folders.

This is to prevent users from accessing sensitive files.įor Apache there are. Therefore you should monitor this directory and if possible make regular backups.ĭepending 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. While it is unlikely that anything nasty will occur (such as all the avatars being deleted) there are always people out there to cause trouble. Please be aware that setting a directory’s permissions to global write access is a potential security issue. Usually this means you have to alter its permissions to allow anyone to read and write to it. You must also ensure this directory can be written to by the webserver. By default this is images/avatars/uploads, but you can set it to whatever you like, just ensure the configuration setting is updated. If you wish to enable this function you should first ensure the correct path for uploadable avatars is set inĪdministration Control Panel -> General -> Board Configuration -> Avatar settings. Two of these options allow users to upload an avatar from their machine or a remote location (via a URL). PhpBB supports several methods for allowing users to select their own avatar (an avatar is a small image generally unique to a user and displayed just below their username in posts). Ensure that details specified on the General tab are correct! If not, login as the administrator you specified during install/conversion and click the Administration Control Panel link at the bottom of any page. Depending on how the installation completed, you may have been directed there automatically.

With these directories deleted, you should proceed to the administration panel. Once you have successfully installed phpBB you MUST ensure you remove the entire install/ directory.īeyond this essential deletion, you may also wish to delete the docs/ directory if you wish.
