Tools
Lighttpd

From personal usage
- use mimetype.assign instead of the too generalist system-wide
/etc/mime.types - one can't do a rewrite in a url conditional
- $HTTP["url"] =~ "/this/" { url.rewrite = ( "/this/" => "/that/" )} will have no effect (and produce no error either)
debug.log-request-handlingin DebugVariables- ModDirlisting
- e.g. http://cloud.benetou.fr for MyCloudTransition
- ModAuth
- e.g. http://cloud.benetou.fr for MyCloudTransition
- ModRedirect with url.redirect-code
- mod_proxy
- failed to properly limit it to one directory and probably problem with url.rewrite
- mod_cgi
- do not use
".cgi" => "/bin/sh"if you use Fossil with#!/usr/bin/fossil
- do not use
- lighttpd -t -f lighttpd.conf : test the syntax of the configuration file
- lighttpd force-reload : reload lighttpd with the modified configuration file
- mimefile type updated to use .log as plain text files
- modify /etc/mime.types (loaded from the configuration file) to add
log,pjs, ... to "text/plain" the restart httpd
- modify /etc/mime.types (loaded from the configuration file) to add
- vhost simple configuration based host=path
$HTTP["host"] == "www.benetou.fr" { server.document-root = "/home/utopiah/web/benetou.fr/www/" }
- vhost with urlrewritting :
$HTTP["host"] == "blog.seedea.org" {
index-file.names = ("pmwiki.php")
url.rewrite-once = (
"^/([a-zA-Z0-9]+)/([a-zA-Z=?0-9.&:\-_%]+)$" => "/wiki/pmwiki.php?n=$1.$2",
"^/([a-zA-Z0-9/]+)$" => "/wiki/pmwiki.php?n=CoEvolutionBlog.$1",
"^/$" => "/wiki/pmwiki.php?n=CoEvolutionBlog"
)
}
Apache
Moved to ApacheProjects#HTTPServer
nginx
- nginx.net HTTP and mail proxy server licensed under a 2-clause BSD-like license. by Igor Sysoev
- http://wiki.nginx.org/NginxInstall#Win32_Binaries
- using
startto run in a specific window nginx -s stopto stop properly a running instance- http://wiki.nginx.org/NginxCommandLine#Loading_a_New_Configuration_Using_Signals
- using
- http://wiki.nginx.org/NginxConfiguration
- http://wiki.nginx.org/PHPFastCGIOnWindows for efficient PmWiki
- Yet another "No input file specified." thread
- add "root" in location ~ \.php$ { root /path/to/your/docroot; ... } (worked well)
- also requiring to set date-default-timezone-set for the latest PHP versions
- Yet another "No input file specified." thread
- http://wiki.nginx.org/NginxHttpRewriteModule#rewrite
- rewrite ^/(.*)/(.*)$ /pmwiki.php?n=$1.$2 last;
See also
- Pseudostreaming for FlowPlayer
- Lighttpd FasCGI PHP, MySQL chroot jail installation under Debian Linux by Vivek Gite, niCraft 2006
Note
My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.
CONTENT
CONTACT
UPDATES
LAST TWEET
RSS for this page only


