Welcome! Log In Create A New Profile

Advanced

nginx + ssi + remote uri access does not work

April 13, 2010 11:34PM
I have a setup where my nginx is in front with apache+PHP behind.

My PHP application cache some page in memcache which are accessed by nginx directly except some dynamic part which are build using SSI in Nginx.

The first problem I had was nginx didnt try to use memcache for ssi URI.

[code]
<!--# include virtual="/myuser" -->
[/code]

So I figured that if I force it to use a full URL, it would do it.

[code]
<!--# include virtual="http://www.example.com/myuser" -->
[/code]
But in logs file (both nginx and apache) I can see that a slash has been added at the beginning of the url

[code]
http ssi filter "/http://www.example.com/myuser"
[/code]

In the source code of the SSI module I see a PREFIX that seems to be added, but I can really tell if I can disable it.

Anybody got this issue? Nginx version : 0.7.62 on Ubuntu Karmic 64bits

Thanks a lot
Subject Author Posted

nginx + ssi + remote uri access does not work

stunti April 13, 2010 11:34PM

Re: nginx + ssi + remote uri access does not work

Maxim Dounin April 14, 2010 04:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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