http_referer in a SSI directive
    Manlio Perillo 
    manlio_perillo at libero.it
       
    Thu Jun 14 14:30:33 MSD 2007
    
    
  
Hi.
In a static page used by the error_page directive:
error_page 500 /static/xhtml/500.html;
I want to add a link "back" using the referer header.
Using SSI the solution can be something like:
<a href="<!--#echo var="http_referer" -->">Go Back</a>
However this does not works on nginx (0.5.18), and I got
<a href="(none)">Go Back</a>
This is a strange limitation, is the code correct?
Thanks  Manlio Perillo
    
    
More information about the nginx
mailing list