Welcome! Log In Create A New Profile

Advanced

Re: Why doesn't this work?

June 25, 2009 12:10AM
2009/6/24 Maxim Dounin


> - if ($host ~^(.*?)\.%%USER%%\.foo\.com$) {
> + if ($host ~ ^(.*?)\.%%USER%%\.foo\.com$) {
>

That at least passes but it still doesn't work.

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name the
$document_root piece is not being filled in from the "root" capture. It
probably should... that'd be a bug if it was up to me.

For the moment I've been able to make a crappy hack:

rewrite ^/$ /index.php last;
Subject Author Posted

Why doesn't this work?

mike June 24, 2009 07:03PM

Re: Why doesn't this work?

Maxim Dounin June 24, 2009 07:26PM

Re: Why doesn't this work?

mike June 24, 2009 07:41PM

Re: Why doesn't this work?

mike June 24, 2009 08:29PM

Re: Why doesn't this work?

Maxim Dounin June 24, 2009 10:49PM

Re: Why doesn't this work?

mike June 24, 2009 11:12PM

Re: Why doesn't this work?

Maxim Dounin June 24, 2009 11:51PM

Re: Why doesn't this work?

mike June 25, 2009 12:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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