Welcome! Log In Create A New Profile

Advanced

Re: SSI goes to backend

September 04, 2009 10:53AM
On Fri, Sep 04, 2009 at 02:19:19PM +0300, zepolen wrote:

> 2009/9/4 Igor Sysoev <is@rambler-co.ru>:
> > On Fri, Sep 04, 2009 at 01:55:50AM +0300, zepolen wrote:
> >> Going to directly to http://www.domain.com/ssi/base.html in a browser
> >> shows the file ok
> >>
> >> However if it gets loaded as ssi, the request seems to go to the
> >> backend (which says 404) - instead of being served from nginx.
> >
> > - <!--# include virtual="http://www.domain.com/ssi/base.html" -->
> > + <!--# include virtual="/ssi/base.html" -->
>
> Thanks, that worked. Why would using the domain not work?
>
> What if for example you want to ssi from a different domain name so
> the html is served from http://www.domain.com/ but the ssi uses
> www.other.com (which is also hosted on the same nginx instance).

The main technical problem now is that you can not set proxy parameters
in this case and may use default ones only.


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

SSI goes to backend

zepolen September 03, 2009 07:18PM

Re: SSI goes to backend

Igor Sysoev September 04, 2009 05:04AM

Re: SSI goes to backend

zepolen September 04, 2009 10:53AM

Re: SSI goes to backend

Igor Sysoev September 04, 2009 10:53AM

Re: SSI goes to backend

Marcus Clyne September 04, 2009 10:53AM

Re: SSI goes to backend

Igor Sysoev September 04, 2009 10:53AM

Re: SSI goes to backend

Marcus Clyne September 04, 2009 11:14AM

Re: SSI goes to backend

Igor Sysoev September 04, 2009 11:26AM

Re: SSI goes to backend

Marcus Clyne September 04, 2009 11:56AM

Re: SSI goes to backend

Igor Sysoev September 04, 2009 12:04PM

Re: SSI goes to backend

Marcus Clyne September 04, 2009 12:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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