Happy Birthday RootForum

Ankündigungen und Neuigkeiten
Post Reply
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Happy Birthday RootForum

Post by Joe User »

Moin,

es ist mal wieder soweit, das RootForum hat Geburtstag und beginnt heute sein fünftes Lebensjahr.

Happy Birthday RootForum

Als Dank für die letzten vier Jahre gibt es von uns auch noch ein kleines BonBon für Euch. Ja, das Geburtstagskind verteilt Geschenke, genauer gesagt Eines:

Das RootForum ist ob heute offiziell "powerd by lighty"!

Um auch künftig einen möglichst schnellen Zugriff auf die im RootForum gesammelten Information zu ermöglichen und die Last auf dem Webserver zu reduzieren, sind wir von der Kombination Apache-2.0 und mod_php-5.1 auf lighttpd-1.4 und PHP-FCGI umgestiegen.

An dieser Stelle ein herzliches Dankeschön an Jan Kneschke für die Entwicklung des Lighty.


In diesem Sinne:

Auf das nächste Jahr,
Euer RootForum-Team
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
fritz
Posts: 892
Joined: 2002-04-23 20:12
Location: Lehrte / Hannover
 

Re: Happy Birthday RootForum

Post by fritz »

von mir auch Happy Birthday!
http://s11server.de/rootforum2006/

Gruß Fritz

P.S. ich war zu faul, eine neue Karte zu malen - aber die alte war bis auf die '4' und die '6' ja noch gut erhalten ;-)
lord_pinhead
Posts: 774
Joined: 2004-04-26 15:57
 

Re: Happy Birthday RootForum

Post by lord_pinhead »

Wow, nicht nur das der B-Day heute ist, auch das Forum rennt plötzlich so extrem schnell. Bin fasziniert, könnt Ihr eure Configs preisgeben oder sind die hochgeheim und wenn man die sieht wird man erschossen ;)
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Happy Birthday RootForum

Post by Joe User »

Moin,

so geheim sind die Configs nicht ;)

Die Config von Lighty entspricht weitestgehend der Default-Config:

Code: Select all

var.basedir = "/srv/www"
var.statedir = "/var/lib/lighttpd"
var.logdir = "/var/log/www"
server.username = "lighttpd"
server.groupname = "lighttpd"
server.stat-cache-engine = "fam"
server.event-handler = "linux-sysepoll"
server.pid-file = "/var/run/lighttpd.pid"
server.errorlog = "/var/log/www/error_log"
Server.document-root = "/srv/www/htdocs"
server.follow-symlink = "enable"
server.name = "www.domain.tld"
server.modules = (
    "mod_rewrite",
    "mod_redirect",
    "mod_alias",
    "mod_access",
    "mod_setenv",
    "mod_fastcgi",
    "mod_compress",
    "mod_accesslog"
)
server.indexfiles = (
    "index.html",
    "index.htm",
    "index.php"
)
index-file.names = (
    "index.html",
    "index.htm",
    "index.php"
)
mimetype.assign = (
    ".ico"     => "image/x-icon",
    ".jpeg"    => "image/jpeg",
    ".jpg"     => "image/jpeg",
    ".png"     => "image/png",
    ".gif"     => "image/gif",
    ".html"    => "text/html",
    ".htm"     => "text/html",
    ".css"     => "text/css",
    ".js"      => "text/javascript",
    ".php"     => "application/x-httpd-php",
    ""         => "text/plain"
)
static-file.exclude-extensions = (
    ".php"
)
dir-listing.activate = "disable"
dir-listing.hide-dotfiles = "enable"
dir-listing.encoding = "utf-8"
dir-listing.exclude = (
    "^.",
    "~$",
)
url.access-deny = (
    "~",
    ".inc",
    ".cfg",
    ".tpl"
)
fastcgi.server = (
    ".php" => ((
        "bin-path" => "/usr/bin/php-cgi",
        "socket" => "/tmp/lighttpd_fphp.sock",
        "min-procs" => 2,
        "max-procs" => 2,
        "bin-environment" => (
            "PHP_FCGI_CHILDREN" => "8",
            "PHP_FCGI_MAX_REQUESTS" => "250"
        ),
        "bin-copy-environment" => (
            "PATH",
            "SHELL",
            "USER"
        ),
        "broken-scriptfilename" => "enable"
    ))
)
compress.filetype = (
    "text/javascript",
    "text/plain",
    "text/html",
    "text/css"
)
accesslog.filename = "/var/log/www/access_log"
accesslog.format = "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
$HTTP["host"] == "domain.tld" {
    url.redirect = (
        "^/(.*)" => "http://www.domain.tld/$1",
        "^/?$"   => "http://www.domain.tld/"
    )
}
$HTTP["host"] == "www.domain.tld" {
    server.name = "www.domain.tld"
    Server.document-root = "/srv/www/htdocs"
    accesslog.filename = "/var/log/www/access_log"
    compress.cache-dir = "/var/tmp/lighttpd/cache/compress/"
}
Die php.ini und die my.cnf sind leicht angepasste Varianten aus dem Gentoo-Hardened-HowTo im RootForum-Wiki.

Hinzu kommen dann noch einige nicht öffentliche Änderungen am phpBB.

Nun muss ich Euch leider erschiessen ;)

Gruss,
Joe User
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
lord_pinhead
Posts: 774
Joined: 2004-04-26 15:57
 

Re: Happy Birthday RootForum

Post by lord_pinhead »

Omg, nicht schiessen :D

Das ist so ungefähr die standard in der Config die ich auch bisher immer gemacht habe, nur sachen wie static-file.exclude-extensions hab ich nie verwendet oder extra das directory listing abgeschalten, was ja sowisso per default aus ist.
Post Reply