This:
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
But please note: there was a .htaccess in the original phpBB3 package. Maybe you can't see hidden files with your FTP program. In that case switch it over to see hidden files and you should see the original .htaccess.
The content of the original .htaccess:
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>