Welcome! Log In Create A New Profile

Advanced

Re: Nginx Drupal Rewrite

May 20, 2009 12:43PM
2009/5/20 Igor Sysoev <is@rambler-co.ru>:

> No, I meant how does Drupal go with trailing "&", if an original request
> has no query string at all, say
>
> /some/page.html
>
> will be //foo/index.php?q=/some/page.html&

I think this assumes Drupal is running with friendly URLs enabled,
which are extensionless, and also, the PHP script will see that as a
single parameter still, just 'q'

Since the slug /some/page.html is 'q', the & will be ignored as it is
a standard query string.

I think WordPress might do it slightly differently in how it parses
the URI, which is why it worked without $args (at least it appeared to
for a long time for me) - Drupal apparently needs the args passed to
it, whereas WordPress probably grabs the URI from another source (and
actually you might be able to pass nothing to the index.php and it
handles it from PATH_INFO. I think.)
Subject Author Posted

Nginx Drupal Rewrite

Claude Bing May 16, 2009 12:09PM

Re: Nginx Drupal Rewrite

mike May 16, 2009 12:15PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 12:48PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 12:47PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 01:04PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 01:10PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 01:18PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 01:58PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 02:11PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 02:19PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 02:27PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 02:35PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 02:42PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 02:54PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 03:11PM

Re: Nginx Drupal Rewrite

Claude Bing May 16, 2009 03:20PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 16, 2009 03:47PM

Re: Nginx Drupal Rewrite

mike May 16, 2009 04:46PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 17, 2009 01:47AM

Re: Nginx Drupal Rewrite

Igor Sysoev May 17, 2009 01:54AM

RE: Nginx Drupal Rewrite

Hendry Lee May 17, 2009 03:43AM

Re: Nginx Drupal Rewrite

Igor Sysoev May 20, 2009 08:29AM

RE: Nginx Drupal Rewrite

Hendry Lee May 20, 2009 09:22AM

Re: Nginx Drupal Rewrite

Igor Sysoev May 20, 2009 09:28AM

Re: Nginx Drupal Rewrite

mike May 20, 2009 12:43PM

Re: Nginx Drupal Rewrite

Igor Sysoev May 20, 2009 01:21PM

Re: Nginx Drupal Rewrite

mike May 20, 2009 02:57PM

RE: Nginx Drupal Rewrite

Hendry Lee May 20, 2009 01:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
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