Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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: 09.10.2024, 12:50 - Dateigröße: 2.43 KiB


01  <IfModule mod_rewrite.c>
02  RewriteEngine on
03   
04  #
05  # Uncomment the statement below if URL rewriting doesn't
06  # work properly. If you installed phpBB in a subdirectory
07  # of your site, properly set the argument for the statement.
08  # e.g.: if your domain is test.com and you installed phpBB
09  # in http://www.test.com/phpBB/index.php you have to set
10  # the statement RewriteBase /phpBB/
11  #
12  #RewriteBase /
13   
14  #
15  # Uncomment the statement below if you want to make use of
16  # HTTP authentication and it does not already work.
17  # This could be required if you are for example using PHP via Apache CGI.
18  #
19  #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
20   
21  #
22  # The following 3 lines will rewrite URLs passed through the front controller
23  # to not require app.php in the actual URL. In other words, a controller is
24  # by default accessed at /app.php/my/controller, but can also be accessed at
25  # /my/controller
26  #
27  RewriteCond %{REQUEST_FILENAME} !-f
28  RewriteCond %{REQUEST_FILENAME} !-d
29  RewriteRule ^(.*)$ app.php [QSA,L]
30   
31  #
32  # If symbolic links are not already being followed,
33  # uncomment the line below.
34  # http://anothersysadmin.wordpress.com/2008/06/10/mod_rewrite-forbidden-403-with-apache-228/
35  #
36  #Options +FollowSymLinks
37  </IfModule>
38   
39  # With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
40  # module mod_authz_host to a new module called mod_access_compat (which may be
41  # disabled) and a new "Require" syntax has been introduced to mod_authz_host.
42  # We could just conditionally provide both versions, but unfortunately Apache
43  # does not explicitly tell us its version if the module mod_version is not
44  # available. In this case, we check for the availability of module
45  # mod_authz_core (which should be on 2.4 or higher only) as a best guess.
46  <IfModule mod_version.c>
47      <IfVersion < 2.4>
48          <Files "config.php">
49              Order Allow,Deny
50              Deny from All
51          </Files>
52          <Files "common.php">
53              Order Allow,Deny
54              Deny from All
55          </Files>
56      </IfVersion>
57      <IfVersion >= 2.4>
58          <Files "config.php">
59              Require all denied
60          </Files>
61          <Files "common.php">
62              Require all denied
63          </Files>
64      </IfVersion>
65  </IfModule>
66  <IfModule !mod_version.c>
67      <IfModule !mod_authz_core.c>
68          <Files "config.php">
69              Order Allow,Deny
70              Deny from All
71          </Files>
72          <Files "common.php">
73              Order Allow,Deny
74              Deny from All
75          </Files>
76      </IfModule>
77      <IfModule mod_authz_core.c>
78          <Files "config.php">
79              Require all denied
80          </Files>
81          <Files "common.php">
82              Require all denied
83          </Files>
84      </IfModule>
85  </IfModule>
86