WebMaster Home

Web Servers

Apache, Nginx and Lighttpd




    Deathmatch may be an overstatement but here are the results from some performance benchmarking. The Setup: Server: * CENTOS 5.1 * Dual 2.4GHz Xeon CPUs * 4GB RAM * RAID5 (4 x 15k disks) * Server and test client were connected via a consumer grade 10/100 switch ......

    In short - while NginX remains to be proven to the masses, it clearly is working well for some, myself included. I intend to do some serious load testing on NginX on RHEL when I get a chance, I’m curious to see how it behaves under stress, particularly with the SSL module. If you’re starting to look beyond Apache, for whatever reason (I can’t think of any other than memory and massive scalability), definitely consider giving NginX a closer look.

    Nginx rewrite config for ArticleLive

    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 last;
    rewrite ^/contact(.*)$ /contact.php?$1 last;
    rewrite ^/blogrss(.*)$ /blogrss.php?$1 last;
    rewrite ^/newsrss(.*)$ /newsrss.php?$1 last;
    break;
    }




    Categories

    No categories found.
    No popular authors found.

    Recent Blogs

    View all blogs

    No popular articles found.