Welcome! Log In Create A New Profile

Advanced

Re: Rewrite

June 01, 2011 05:02AM
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@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rewrite

Silvio Siefke May 31, 2011 11:08PM

Re: Rewrite

edogawaconan May 31, 2011 11:16PM

Re: Rewrite

Silvio Siefke June 01, 2011 04:30AM

Re: Rewrite

edogawaconan June 01, 2011 04:48AM

Re: Rewrite

Silvio Siefke June 01, 2011 04:54AM

Re: Rewrite

edogawaconan June 01, 2011 04:58AM

Re: Rewrite

Igor Sysoev June 01, 2011 05:02AM

Re: Rewrite

Silvio Siefke June 01, 2011 05:16AM

Re: Rewrite

Silvio Siefke June 01, 2011 05:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 149
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready