Archive

Author Archive

xmonad gnome-panel workspace switcher

August 20th, 2010 No comments

By default it is not working and the workspace switcher show only 1 workspace whatever you set. Googleing a bit I found the solution.

Categories: Software
Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Drupal on nginx

August 15th, 2010 No comments

I already shared some nginx configuration for PHP, but here is one for Drupal.
Read more…

Categories: Internet, Software
Tags: , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

redmine on nginx with mongrel_cluster

June 10th, 2010 No comments

The webrick of redmine has couple of performance issues, so I was looking for an alternative solution to avoid the use of Apache and its proxy features. As already I use nginx it was clear to use it. The proxy is working perfectly with proxy_pass to the webrick, but this still have the performance issues.
Read more…

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Locandina canile di Trento

May 9th, 2010 1 comment
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)
Loading...

wordpress rewrite for nginx

April 29th, 2010 No comments

Following the my previous post on nginx and php for the search engine friendly URL edit the virtualhost nginx config file and a localtion

server ~/ $ cat /etc/nginx/sites-available/default.conf
server {
        listen   80 default;
        server_name  _;
 
        access_log  /var/log/nginx/localhost.access.log;
 
        server_name_in_redirect  off;
 
        root   /var/www/;
        index  index.php;
 
       location / {
                root   /var/www/;
                index  index.php index.html index.htm;
            if (!-e $request_filename) { # if the file does not exist 
                rewrite  ^/(.*)$  /index.php?q=$1  last;
                break;
            }
 
        }
 
	location ~ \.php$ {
		include /etc/nginx/fastcgi_params;
		fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
		fastcgi_pass  127.0.0.1:9000;
	}
 
}
Categories: Internet, Linux
Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...