I do not issue any guarantee that this will work for you!!!
btw. it’s working for me :p
apt-get install build-essential
Download patches:
mkdir -p /usr/local/djb/patches
cd /usr/local/djb/patches
wget http://www.thedjbway.org/patches/djb_errno_patches.tgz
tar xfvz djb_errno_patches.tgz
Install daemontools:
mkdir -p /package
chmod 1755 /package
cd /package
wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
gunzip daemontools-0.76.tar
tar -xpf daemontools-0.76.tar
rm daemontools-0.76.tar
cd admin/daemontools-0.76
touch /etc/inittab
patch -p1 < /usr/local/djb/patches/daemontools-0.76.errno.patch
package/install
Install ucspi-tcp:
Download the ucspi-tcp package to a temporary directory (example: /usr/src)
cd /usr/src
wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
tar [...]
Nginx rewrite rules for ArticleLive:
if (!-e $request_filename) {
rewrite ^/categories(.*)$ /categories.php?$1 last;
rewrite ^/articles(.*)$ /articles.php?$1 last;
rewrite ^/pages(.*)$ /pages.php?$1 last;
rewrite ^/blogs(.*)$ /blogs.php?$1 last;
rewrite ^/news(.*)$ /news.php?$1 last;
rewrite ^/authors(.*)$ /authors.php?$1 last;
rewrite ^/search(.*)$ /search.php?$1 last;
rewrite ^/articlerss(.*)$ /articlerss.php?$1 [...]
¶
Posted 11 July 2007
§
Nginx
‡
°
Nginx rewrite rules for XtraUpload:
if (!-e $request_filename) {
# New Rewrite Rules for total site SEO
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/index\.htm$ /$1.php?$2=$3&$4=$5&$6=$7&$8=$9&$10=$11 last;
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/index\.htm$ /$1.php?$2=$3&$4=$5&$6=$7&$8=$9 last;
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/index\.htm$ /$1.php?$2=$3&$4=$5$6=$7& last;
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/index\.htm$ /$1.php?$2=$3&$4=$5 last;
rewrite ^/(.*)/(.*)_(.*)/index\.htm$ /$1.php?$2=$3 last;
# More New Rewrite Rules for total site SEO, with index.htm pagess at the end
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/$ /$1.php?$2=$3&$4=$5&$6=$7&$8=$9&$10=$11 last;
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/$ /$1.php?$2=$3&$4=$5&$6=$7&$8=$9 last;
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/(.*)_(.*)/$ /$1.php?$2=$3&$4=$5$6=$7& last;
rewrite ^/(.*)/(.*)_(.*)/(.*)_(.*)/$ /$1.php?$2=$3&$4=$5 [...]
¶
Posted 02 July 2007
§
Nginx
‡
°
Add following configuration directive if you want to redirect www.example.com to example.com
server {
server_name www.example.com;
rewrite ^(.*) http://example.com$1 permanent;
}
server {
server_name example.com;
Put here your domain hosting configuration.
}
Add following configuration directive if you want to redirect example.com to www.example.com
server {
[...]
¶
Posted 15 June 2007
§
Nginx
‡
°
Open your nginx configuration file:
# nano /etc/nginx/nginx.conf
Locate your domain (example.com) virtual hosting configuration and before “location ~ \.php$ {” add following lines:
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
At the end your configuration should look as follows:
server {
server_name example.com;
[...]
¶
Posted 11 June 2007
§
Nginx
‡
°