Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GS and NGINX
#20
(2013-03-09, 00:52:05)marrco Wrote: @asd102 remove this line: access_log off; and check both /var/log/nginx/errror.log and accesss.log.
Don't forget to reload php/nginx when you modify config files.

I'm using debian squeeze and installed nginx from backports. My guess is that you didn't read the first error message, maybe it was just unable to continue setup because of some directory permission error, and then you modified the config creating the loop, and never restarted nginx.

@marrco access_log is off, and I have indeed been stopping and starting nginx after every config file edit - but good to check.

It's something to do with how nginx is re-writing the files...

visiting the root of the site gives me:
http://example.com/index.php/admin/install.php

Removing the offending "index.php" allows me to view this page:
http://example.com/admin/install.php

And click through into:
http://example.com/admin/setup.php

Filling in the form and clicking "install now" gives me this URL:
http://example.com/index.php/admin/install.php

It turns out that I installed nginx from DotDeb, not backports... would that matter? I have just checked, my version is 1.2.7, backports is 1.2.1

---
EDIT:
It is the re-write rule as this is in the error log:
2013/03/08 15:23:35 [error] 30224#0: *45 open() "/route/to/example.com/setup.php/admin/template/js/fancybox/jquery.fancybox.pack.js" failed (2: No such file or directory), client: IP, server:example.com, request: "GET /setup.php/admin/template/js/fancybox/jquery.fancybox.pack.js?v=2.0.4 HTTP/1.1", host: "example.com", referrer: "http://example.com/admin/setup.php"
Reply


Messages In This Thread
GS and NGINX - by marrco - 2011-01-24, 03:47:03
RE: GS and NGINX - by newtonuy - 2013-02-01, 03:42:38
RE: GS and NGINX - by Carlos - 2013-02-01, 04:05:56
RE: GS and NGINX - by newtonuy - 2013-02-01, 04:14:47
RE: GS and NGINX - by Carlos - 2013-02-01, 04:20:28
RE: GS and NGINX - by newtonuy - 2013-02-01, 04:21:31
RE: GS and NGINX - by asd102 - 2013-03-08, 01:12:06
RE: GS and NGINX - by marrco - 2013-03-08, 21:31:56
RE: GS and NGINX - by asd102 - 2013-03-09, 00:31:07
RE: GS and NGINX - by marrco - 2013-03-09, 00:52:05
RE: GS and NGINX - by asd102 - 2013-03-09, 01:37:31
RE: GS and NGINX - by asd102 - 2013-05-09, 23:26:18
RE: GS and NGINX - by dillingen - 2013-05-29, 21:09:05
RE: GS and NGINX - by jrfiol - 2013-06-22, 05:10:31
RE: GS and NGINX - by marrco - 2013-06-24, 19:04:20
RE: GS and NGINX - by eremini - 2013-09-20, 01:56:34
RE: GS and NGINX - by Everyone - 2013-09-20, 03:33:55
RE: GS and NGINX - by shawn_a - 2013-09-20, 04:02:04
RE: GS and NGINX - by Everyone - 2013-09-20, 18:57:11
RE: GS and NGINX - by marrco - 2014-05-10, 00:52:34
RE: GS and NGINX - by shawn_a - 2014-05-10, 01:38:41
RE: GS and NGINX - by cviebrock - 2014-06-05, 13:53:08
RE: GS and NGINX - by scote - 2014-12-01, 16:44:38
GS and NGINX - by BillF - 2011-01-26, 04:28:39
GS and NGINX - by marrco - 2011-03-08, 04:53:54
GS and NGINX - by [/root.] - 2012-02-07, 05:22:30
RE: GS and NGINX - by plahpoy - 2018-08-25, 09:10:49
GS and NGINX - by marrco - 2012-02-29, 21:26:06
GS and NGINX - by SoftExpert - 2012-03-18, 21:29:53
GS and NGINX - by marrco - 2012-03-19, 19:18:08
GS and NGINX - by incognito - 2012-03-23, 00:36:43
GS and NGINX - by marrco - 2012-05-20, 01:28:36
GS and NGINX - by kaifas - 2012-08-13, 16:34:35



Users browsing this thread: 1 Guest(s)