145 reputation
7
bio website jcfrei.com
location Zurich, Switzerland
age 26
visits member for 4 years, 2 months
seen yesterday

finance guy with projects and applications developed in/for: Perl, Java, Android, javascript, C, C++, VB, AS3, PHP, Matlab, R and Stata


Mar
26
comment nginx serving .php as static files
thanks for the advice, but I have since updated nginx on my other machine and got it working. nginx also changed the config quite a bit, so now all directives are in nginx.conf.
Mar
6
comment nginx serving .php as static files
0.8.54-4 I installed it from the repositories on both machines. I think i'll try installing a more recent version next (unfortunately I'm currently away from my other pc (the one with the problem))
Mar
6
comment nginx serving .php as static files
sample url localhost/webv1/index.php
Mar
3
comment Google Analytics setting cookies on static content despite being on entirely separate domain
hm, and I see you're loading the GA code at the very end of your page and it still manages to set cookies on all requests... really can't think of a reason why GA would or should do this (but it apparently does)
Mar
3
comment Google Analytics setting cookies on static content despite being on entirely separate domain
ah i realize now exactly how your setup works. three things come to my mind... what happens inside the two .js files on your e.cdn.dj domain? and you could use firebug or the likes to see if the response header from your domain still contains the cookies. and lastly, check the expiration/caching properties of your webserver. he might deliver a cached response which still contains the response header with cookies.
Sep
1
comment Sessions Problem with PHP-FPM on Nginx
thanks. I checked again if it was really set and it wasnt. the problem however was that the domain for the session cookie was set to another domain. setting it to the correct one allowed the sessid to get passed correctly.