Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 





     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse proxy subdirectory

  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Reverse proxy subdirectory
  • From: "andribas" <nginx-forum@xxxxxxxx>
  • Date: Fri, 30 Jul 2010 00:35:35 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=5EZnNDxhSjOuXO8Z9IAEhEeFu2sjFtnuo2soiajFR2s=; b=LkmAQmHrKPvVE+7okCVOZWzzKmCByBIoK7G+f2VqxBk+k8DzNwYBnku0S4ip58UaZEbCEab9tM4aMe+ugc9QsfDAMKHTx2+3BDQZlLHkkTtQPIrPYSrMKyZY9ztPi7wU;
  • In-reply-to: <20100729190654.GA89938@xxxxxxxxxxxxx>
  • References: <20100729190654.GA89938@xxxxxxxxxxxxx>

http://localhost:888/index.html (


var cur_controller = 0;
var cur_unit = -2;
var lastmessage = ""
var who = 1;
var lang = 0;
function init()

3ware 3DM2 - superserver - Summary

(0x0C:0x0013): You must enable Javascript on your browser for 3DM 2 to
run properly


      (0x0C:0x0014): 3DM2 uses frames but your browser doesn't support


П.С. фреймы, кстати, тоже открываются, но
картинки на них - нет, т.е. только первый
запрос открывается корректно. 

Вот здесь читал про апач
там похожие настройки

ProxyPass       /app1/  http://internal1.example.com/
ProxyPassReverse /app1/ http://internal1.example.com/
но рекомендуют
However, there is a slightly more complex alternative form that I
recommend as more robust:

        ProxyPassReverse /

 The reason for recommending this is that a problem arises with some
application servers. Suppose for example we have a redirect:

        HTTP/1.1 302 Found
        Location: /some/path/to/file.html

This is a violation of the HTTP protocol and so should never happen:
HTTP only permits full URLs in Location headers. However, it is also a
source of much confusion, not least because the CGI spec has a similar
Location header with different semantics where relative paths are
allowed. There are a lot of broken servers out there! In this instance,
the first form of ProxyPassReverse will return the incorrect response

        HTTP/1.1 302 Found
        Location: /some/path/to/file.html

which, even allowing for error-correcting browsers, is outside the
Proxy's address space and won't work. The second form fixes this to

        HTTP/1.1 302 Found
        Location: /app1/some/path/to/file.html

which is still broken, but will at least work in error-correcting
browsers. Most browsers will deal with this.

 может что-то такое нужно?

Posted at Nginx Forum: 

nginx-ru mailing list


Copyright © Lexa Software, 1996-2009.