Verzeichnisstruktur phpBB-3.3.16


Veröffentlicht
27.04.2026

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

.htaccess

Zuletzt modifiziert: 01.05.2026, 11:25 - Dateigröße: 3.19 KiB


001  <IfModule mod_rewrite.c>
002  RewriteEngine on
003   
004  #
005  # Uncomment the statement below if URL rewriting doesn't
006  # work properly. If you installed phpBB in a subdirectory
007  # of your site, properly set the argument for the statement.
008  # e.g.: if your domain is test.com and you installed phpBB
009  # in http://www.test.com/phpBB/index.php you have to set
010  # the statement RewriteBase /phpBB/
011  #
012  #RewriteBase /
013   
014  #
015  # Uncomment the statement below if you want to make use of
016  # HTTP authentication and it does not already work.
017  # This could be required if you are for example using PHP via Apache CGI.
018  #
019  #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
020   
021  #
022  # The following 3 lines will rewrite URLs passed through the front controller
023  # to not require app.php in the actual URL. In other words, a controller is
024  # by default accessed at /app.php/my/controller, but can also be accessed at
025  # /my/controller
026  #
027  RewriteCond %{REQUEST_FILENAME} !-f
028  RewriteCond %{REQUEST_FILENAME} !-d
029  RewriteRule ^(.*)$ app.php [QSA,L]
030   
031  #
032  # If symbolic links are not already being followed,
033  # uncomment the line below.
034  # http://anothersysadmin.wordpress.com/2008/06/10/mod_rewrite-forbidden-403-with-apache-228/
035  #
036  #Options +FollowSymLinks
037  </IfModule>
038   
039  # Apache content negotation tries to interpret non-existent paths as files if
040  # MultiViews is enabled. This will however cause issues with paths containg
041  # dots, e.g. for the cron tasks
042  <IfModule mod_negotiation.c>
043      Options -MultiViews
044  </IfModule>
045   
046  # With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
047  # module mod_authz_host to a new module called mod_access_compat (which may be
048  # disabled) and a new "Require" syntax has been introduced to mod_authz_host.
049  # We could just conditionally provide both versions, but unfortunately Apache
050  # does not explicitly tell us its version if the module mod_version is not
051  # available. In this case, we check for the availability of module
052  # mod_authz_core (which should be on 2.4 or higher only) as a best guess.
053  <IfModule mod_version.c>
054      <IfVersion < 2.4>
055          <Files "config.php">
056              Order Allow,Deny
057              Deny from All
058          </Files>
059          <Files "common.php">
060              Order Allow,Deny
061              Deny from All
062          </Files>
063          <Files "composer.json">
064              Order Allow,Deny
065              Deny from All
066          </Files>
067          <Files "composer.lock">
068              Order Allow,Deny
069              Deny from All
070          </Files>
071      </IfVersion>
072      <IfVersion >= 2.4>
073          <Files "config.php">
074              Require all denied
075          </Files>
076          <Files "common.php">
077              Require all denied
078          </Files>
079          <Files "composer.json">
080              Require all denied
081          </Files>
082          <Files "composer.lock">
083              Require all denied
084          </Files>
085      </IfVersion>
086  </IfModule>
087  <IfModule !mod_version.c>
088      <IfModule !mod_authz_core.c>
089          <Files "config.php">
090              Order Allow,Deny
091              Deny from All
092          </Files>
093          <Files "common.php">
094              Order Allow,Deny
095              Deny from All
096          </Files>
097          <Files "composer.json">
098              Order Allow,Deny
099              Deny from All
100          </Files>
101          <Files "composer.lock">
102              Order Allow,Deny
103              Deny from All
104          </Files>
105      </IfModule>
106      <IfModule mod_authz_core.c>
107          <Files "config.php">
108              Require all denied
109          </Files>
110          <Files "common.php">
111              Require all denied
112          </Files>
113          <Files "composer.json">
114              Require all denied
115          </Files>
116          <Files "composer.lock">
117              Require all denied
118          </Files>
119      </IfModule>
120  </IfModule>
121