I am having a hard time learning to do return and rewrite directives. the conditions are fuzzy for me. I am trying to learn by example, so I made one up. in the htdocs of my server we have this file and folders. ~:#>ls htdocs admin.php api (dir) api.php archiver (dir) config (dir) connect.php cp.php crossdomain.xml data (dir) favicon.ico forum.php group.php home.php index.by r004 - Nginx Mailing List - English
hello; I want to write a block to put in my VHOST config file. i want 1. if there is "/install/index.php/" in the link. it shouldbe removed from the link. 2. if the format is like /uc_server/blab.php/uc_server/blahblah ===it should change to===>/uc_server/blabal what should I put in my VHOST config file and where? my current VHOST format is : server { server_nby r004 - Nginx Mailing List - English
I setup my nginx and php-fpm for separate sockets and I get : 2013/12/01 03:59:12 1201#0: *5 connect() to unix:/var/run/php5-fpm/forums.socket failed (2: No such file or directory) while connecting to upstream, client: 173.245.53.199, server: forums.DOMAIN.DOM, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm/forums.socket:", host: "forums.DOMAINby r004 - How to...