Ngnix: Solution for Directory Resolution Problem in Virtual HostingJuly 9th, 2008 Nginx displays a peculiar but logical behavior when handling directories specified without the ending slash. For example you have a directory like http://www.example2.com/dir/.
How To Safely Redirect /index.php To / Using .htaccess / ApacheJune 28th, 2008 Any PHP based software like WordPress, Mambo, Joomla, Drupal, MODx etc. will serve pages both from http://your-site.com as well as http://your-site.com/index.php.
How To Automatically Start Nginx & Fastcgi on Reboot on Fedora LinuxAugust 10th, 2008 nginx [engine x] is a high quality, light footprint (much ligher than Apache HTTPD), high performance HTTP server and mail proxy server written by Igor Sysoev. nginx is distributed under BSD license unlike its competitor Lighttpd.
Tips on Configuring Nginx for Virtual HostingJuly 10th, 2008 Nginx tutorials and examples doesn't tell you how you can configure nginx with virtual hosting when different sites are in different pre-defined directories. Often you are moving over your site from a different web server like Apache HTTPD to Nginx.
The Profile of a Hi-Tech Jehadi...October 9th, 2008 By now all of are aware how Mansoor Peerbhoy has masterminded the terrorist attacks in India, that he showed no remorse in killing non-muslims and doesn't care about the consequences, you are also aware how he was a senior software engineer working at Yahoo / Zimbra and earning an impressive salary by Indian standards. You also heard that he was very tech savvy and an nginx (a faster and apparently better alternative to Apache web server or even lighttpd web server) expert.
Rampant Online Content Duplication...April 15th, 2008 While looking for VOIP information I found an article which looked eerily familiar to another article I had recently read. A simple google search (remember that Google lists a small subset of total matches) with a big identifying
phrase from the article yielded 2110 articles.
Top 10 Nginx TutorialMay 7th, 2009 Nginx is a free open source web server, reverse proxy and IMAP/POP3 proxy server. Nginx has grown into a feasible alternative for the much hyped Apache.
Furl is destroying Google rank of websites with 302 redirectJune 11th, 2005 In Furl when you visit any individual's archive page you will see that the sites are not directly referenced to. They are redirected from a jsp script using the dreaded 302 redirect.
How To Run phpBB on Nginx With Virtual HostingJuly 10th, 2008 We now have our phpBB forum running on Nginx web server, a high quality and significantly better performing web server than Apache HTTPD. Soem of the challenges we faced were:
We use nice permalinks in the forum so there are lots of apache httpd rewrite rules in .htaccess files which had to be converted to nginx format.
Nginx: How To Stop Referrer Spam With Keyword FilteringAugust 8th, 2008 You can configure Nginx to stop referrer spam by checking for bad keywords like tramadol, phentermine etc. This reduces the load on your server as well as prevents filling your referrer logs with invalid entries.
WordPress Plugin for Permanent Redirection of Posts - Angsuman's Permanent Redirector PluginJuly 5th, 2005 Angsuman's Permanent Redirector Plugin
Overview
This plugin allows you to redirect (permanent redirect using HTTP status 301) any of your posts or pages to a different URL. This enables you to transfer Google rank of your post or page (static page of WordPress) to a new page.
Cool SEO Redirection Feature in WordPress 2.3.xFebruary 6th, 2008 I accidentally discovered a super-cool re-direction feature embedded in WordPress 2.3.x. Any blog may have multiple url pointing to the same blog.
Nginx Hacking TipsJuly 12th, 2008 Nginx is a high performance web server and mail proxy server written by Igor Sysoev and a good replacement for Apache HTTPD, the market leader. Nginx is rapidly increasing its market share with major websites joining it like wordpress.com.
How to Stop Crashing / Hanging of php-cgi / spawn-fcgi with nginx / lighttpdMarch 24th, 2009 One of the frequently complained problems while using nginx or lighttpd, two popular and rapidly growing web servers which are faster and lighter alternatives to big daddy Apache web server, with php (through fastcgi interface) is that the pool of php-cgi which ultimately serves the php pages seems to hang frequently and without any apparent reasons. This is also the reason you will see the most common error on nginx website is the dreaded 503 - Gateway Time out.
SEO Benefits of Translator Plugin Pro / Gold For Your WordPress BlogSeptember 4th, 2006 Angsuman's Translator Plugin Pro and Translator Plugin Gold offer tremendous SEO advantage ethically to your blog by instantly providing 8 times the original number of pages. These pages are indistinguisable to search engines and are treated as any other pages of your blog.
August 23rd, 2008 at 6:45 am
Thanks for this tutorial. I had been wondering how to do that until i read this.
April 29th, 2009 at 4:04 am
Thank you for the tip
You’ve inspired me to bring my .htaccess file up to speed.
May 2nd, 2009 at 7:56 pm
With mod_rewrite you can do this:
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]+\ (.*)/index.php\ HTTP/
RewriteRule .*index.php$ http://%{HTTP_HOST}%1/ [L]
see http://blog.blacknode.net/2009/05/redirect-indexphp-to-root-of-current-directory/
May 2nd, 2009 at 7:58 pm
Um, yeah… please ignore my last comment. nginx, not apache… got it.
June 9th, 2009 at 5:17 pm
Thanks a lot! I was fighting with this for a while…
August 13th, 2009 at 12:15 pm
if ($request_uri ~* “^/index.php\??$”) {
rewrite ^.*$ http://$host? permanent;
}
This code is useful when all requests are going to index.php.
What will happen when request are going to multi pal pages and if folders are different then what we need to do with ending slash.
I am looking for removing ending slash from subfolders of website.
September 29th, 2009 at 8:31 pm
that is very good!