Rewrite

Igor Sysoev igor at sysoev.ru
Wed Jun 1 13:00:31 MSD 2011


On Wed, Jun 01, 2011 at 03:56:18PM +0700, Edho P Arief wrote:
> On Wed, Jun 1, 2011 at 3:53 PM, Silvio Siefke <lists at silvio-siefke.de> wrote:
> > On Wed, 1 Jun 2011 15:45:57 +0700 Edho P Arief wrote:
> >> as long it's not static html then it's an application.
> >
> > Aha. So i can not use Rewrite Rules.
> >
> >
> 
> you can but it'll be tedious unless you meant a simple mapping like this:
> 
> /page/1 ===> /page.php?id=1
> 
> if it's something seo-ish like this:
> 
> /my-cool-story ===> /page.php?id=1
> 
> then it must be handled by the application

Even it is as simple as the first example, I can not understand
WHY people relies on gobbledygook of rewrite rules instead of
using high level programming language like PHP.


-- 
Igor Sysoev



More information about the nginx mailing list