Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
lighttpd.sample.conf
01 # Sample lighttpd configuration file for phpBB.
02 # Global settings have been removed, copy them
03 # from your system's lighttpd.conf.
04 # Tested with lighttpd 1.4.26
05
06 # If you want to use the X-Sendfile feature,
07 # uncomment the 'allow-x-send-file' for the fastcgi
08 # server below and add the following to your config.php
09 #
10 # define('PHPBB_ENABLE_X_SENDFILE', true);
11 #
12 # See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile
13 # for the details on X-Sendfile.
14
15 # Load moules
16 server.modules += (
17 "mod_access",
18 "mod_fastcgi",
19 "mod_accesslog"
20 )
21
22 # If you have domains with and without www prefix,
23 # redirect one to the other.
24 $HTTP["host"] =~ "^(myforums\.com)$" {
25 url.redirect = (
26 ".*" => "http://www.%1$0"
27 )
28 }
29
30 $HTTP["host"] == "www.myforums.com" {
31 server.name = "www.myforums.com"
32 server.document-root = "/path/to/phpbb"
33 server.dir-listing = "disable"
34
35 index-file.names = ( "index.php", "index.htm", "index.html" )
36 accesslog.filename = "/var/log/lighttpd/access-www.myforums.com.log"
37
38 # Deny access to internal phpbb files.
39 $HTTP["url"] =~ "^/(config\.php|common\.php|includes|cache|files|store|images/avatars/upload)" {
40 url.access-deny = ( "" )
41 }
42
43 # Deny access to version control system directories.
44 $HTTP["url"] =~ "/\.svn|/\.git" {
45 url.access-deny = ( "" )
46 }
47
48 # Deny access to apache configuration files.
49 $HTTP["url"] =~ "/\.htaccess|/\.htpasswd|/\.htgroups" {
50 url.access-deny = ( "" )
51 }
52
53 fastcgi.server = ( ".php" =>
54 ((
55 "bin-path" => "/usr/bin/php-cgi",
56 "socket" => "/tmp/php.socket",
57 "max-procs" => 4,
58 "idle-timeout" => 30,
59 "bin-environment" => (
60 "PHP_FCGI_CHILDREN" => "10",
61 "PHP_FCGI_MAX_REQUESTS" => "10000"
62 ),
63 "bin-copy-environment" => (
64 "PATH", "SHELL", "USER"
65 ),
66 #"allow-x-send-file" => "enable",
67 "broken-scriptfilename" => "enable"
68 ))
69 )
70 }
71