Welcome! Log In Create A New Profile

Advanced

Re: WordPress MU rewrite rules

October 09, 2009 02:36PM
On Fri, Oct 9, 2009 at 2:14 PM, pepejose <nginx-forum@nginx.us> wrote:
> sorry but I do not understand your solution.
>
>
> many thanks to the two
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,8334,12295#msg-12295
>
>
>

here's the config I tried and seems to be working:
http://pastebin.com/m40212ee1

replace

include php_params;

with

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8080;

like this http://pastebin.com/m1ea4181e

but I'm not sure if it works with apache backend...

--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Subject Author Posted

WordPress MU rewrite rules

pepejose September 22, 2009 04:52AM

Re: WordPress MU rewrite rules

pepejose October 08, 2009 10:46AM

Re: WordPress MU rewrite rules

Grzegorz Sienko October 08, 2009 03:42PM

Re: WordPress MU rewrite rules

edogawaconan October 08, 2009 11:04PM

Re: WordPress MU rewrite rules

pepejose October 09, 2009 03:14AM

Re: WordPress MU rewrite rules

edogawaconan October 09, 2009 02:36PM

Re: WordPress MU rewrite rules

Daniele Melosi October 20, 2009 10:10AM

Re: WordPress MU rewrite rules

edogawaconan October 20, 2009 10:54AM

Re: WordPress MU rewrite rules

Daniele Melosi October 21, 2009 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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