Permalink
Browse files

Merge pull request #12 from shuge/master

Added problem and solutions notes for deploying on Nginx + fcgi_mod page
  • Loading branch information...
2 parents 5e059aa + 932a3ed commit 307fe777d090bf494f10670783c1520e8f9fe83d @aaronsw aaronsw committed Oct 3, 2011
Showing with 14 additions and 1 deletion.
  1. +14 −1 cookbook/fastcgi-nginx.md
View
@@ -116,4 +116,17 @@ To reload your configuration:
And to stop:
- /path/to/nginx/sbin/nginx -s stop
+ /path/to/nginx/sbin/nginx -s stop
+
+
+## NOTES
+
+### problem child exited with 2
+
+solution: insert `#!/usr/bin/env python` into header of main.py
+
+### problem spawn-fcgi child exited with 126
+
+solution: `chmod +x main.py`
+
+

0 comments on commit 307fe77

Please sign in to comment.