atom feed13 messages in ru.sysoev.nginxfollowing symlinks
FromSent OnAttachments
jackdempseyMar 31, 2009 12:38 pm 
Michael ShadleMar 31, 2009 1:07 pm 
Michael ShadleMar 31, 2009 1:08 pm 
Igor SysoevMar 31, 2009 10:32 pm 
Igor SysoevApr 1, 2009 12:06 am 
jackdempseyApr 1, 2009 7:57 am 
Igor SysoevApr 1, 2009 8:06 am 
Igor SysoevApr 1, 2009 10:03 am 
Michael ShadleApr 1, 2009 10:03 am 
Michael ShadleApr 1, 2009 10:13 am 
Igor SysoevApr 1, 2009 12:54 pm 
jackdempseyApr 3, 2009 7:33 am 
jackdempseyApr 3, 2009 8:02 am 
Subject:following symlinks
From:jackdempsey (ngin@nginx.us)
Date:Mar 31, 2009 12:38:17 pm
List:ru.sysoev.nginx

Hi all,

I'm trying to serve up some static files that I've linked to via a symlink. The
-f check is failing:

# check if the file exists and serve it if (-f $request_filename) { access_log off; expires 1d; break; }

as its obviously not a file. I saw something that suggested using -e instead for
symlinks, but that doesn't seem to work for me either (this is version 0.6.32
fwiw). Anyone have any suggestions on what I can do to have symlink'ed files
served up?

thanks so much, jack

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,677,677#msg-677