Welcome! Log In Create A New Profile

Advanced

Re: Still confused with try_files

All files from this thread

File Name File Size   Posted by Date  
patch.try_files.0.7.43 2.2 KB open | download Igor Sysoev 03/19/2009 Read message
patch.try_files.0.6.35.3 13.1 KB open | download Igor Sysoev 03/19/2009 Read message
March 20, 2009 10:13AM
<bd9320b30903162144y3be5cf8eo4748cf2fceca3f49@mail.gmail.com> <20090319102422.GC40316@rambler-co.ru> <60dbc22f0903190654h131ad92dv6f8218f277dc101a@mail.gmail.com> <20090319141304.GF40316@rambler-co.ru> <60dbc22f0903190853m20639ca1xbc4cd0338618935d@mail.gmail.com> <20090319161353.GJ40316@rambler-co.ru> <60dbc22f0903200438w47d26993xf1f831198564b7ab@mail.gmail.com>

On Fri, Mar 20, 2009 at 12:38:45PM +0100, Otto Bretz wrote:

> 2009/3/19 Igor Sysoev <is@rambler-co.ru>:
> >> Should I try with a debug build?
> >
> > Yes, as I could not reproduce the issue.
>
> I've posted the log here: http://www.giuntilabs.net/files/nginx/notworking.log
>
> As far as I can tell drupal sends a 404 message since it cannot handle
> "?q=/members/user/register". It expects "?q=user/register".

Currently, this is available in 0.7.43 only with location regex captures:

location ~ \.php$ {
fastcgi_pass ...
}

location ~^/members(.+)$ {
try_files $uri $uri/ /members/index.php?q=$1$is_args$args;
}

I'm not sure is it easy possible to backport location regex captures
to 0.6.x, since there are many changes in location code in 0.7.x.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Still confused with try_files

mike March 17, 2009 01:06AM

Re: Still confused with try_files Attachments

Igor Sysoev March 19, 2009 06:57AM

Re: Still confused with try_files

Otto Bretz March 19, 2009 10:20AM

Re: Still confused with try_files Attachments

Igor Sysoev March 19, 2009 10:37AM

Re: Still confused with try_files

Otto Bretz March 19, 2009 12:23PM

Re: Still confused with try_files

Igor Sysoev March 19, 2009 12:36PM

Re: Still confused with try_files

Otto Bretz March 20, 2009 08:09AM

Re: Still confused with try_files

Igor Sysoev March 20, 2009 10:13AM

Re: Still confused with try_files

Otto Bretz March 20, 2009 11:45AM

Re: Still confused with try_files

mike March 20, 2009 12:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 325
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready