Welcome! Log In Create A New Profile

Advanced

Re: Rewrite URLs in content?

Reinis Rozitis
May 18, 2009 05:50AM
Yes.

The headers and requests can be modified by Rewrite module http://wiki.nginx.org/NginxHttpRewriteModule and/or proxy module
http://wiki.nginx.org/NginxHttpProxyModule

The content can be altered using httpsubmodule http://wiki.nginx.org/NginxHttpSubModule (the only thing you should note is that
SubModule can't replace gziped content (at least I couldnt manage make it))

rr



----- Original Message -----
From: "kolchy" <nginx-forum@nginx.us>
To: <nginx@sysoev.ru>
Sent: Sunday, May 17, 2009 11:56 AM
Subject: Rewrite URLs in content?


> Hi all - I've been digging around for a while without success so I thought I would ask :) I have a setup where I have multiple
> domains hosted on a single WordPress MU install. So, for example, I have the main WPMU install at http://basedomain.com, and all
> published domains are appended to this (so http://example.com is available at http://example.com.basedomain.com). I now want to
> run some sort of reverse proxy that listens on the http://example.com URL, and pass the requests to
> http://example.com.basedomain.com and the proxy will modify all headers and content to strip out the basedomain.com part of the
> domain so only http://example.com is returned to the client.
>
> Can I get something like this configured with Nginx?? Thanks in advance for any advice or pointers...
>
> Kolchy
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2127,2127#msg-2127
>
>
>
>
Subject Author Posted

Rewrite URLs in content?

kolchy May 17, 2009 04:56AM

Re: Rewrite URLs in content?

Reinis Rozitis May 18, 2009 05:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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