Hi, My webroot is /var/www, ip address is 192.168.0.100-I have directories in the webroot that are for real sites so they aren't a problem-its web apps like mailing lists or bookkeeping packages etc that are puzzling me. I have come up with the following scheme for a default vhost like this: server { server_name 192.168.0.100; root /var/www/; locatiby davidlondonuk - How to...
As usual the answer was simple and staring me in the face. By defining the root of /var/www in a location instead of in the server section, nginx did not know how to find anything-this simple change in the default vhost solved the problem: server { server_name 192.168.0.150; root /var/www; location / { try_files $uri $uri/ /index.php;by davidlondonuk - How to...
Hi, If I try to run php applications located in web root (/var/www) they just won't work-they either get 404 page or mainly 'no input file' error. I tried to get phplist working, but it would be the same for any app placed in /var/www. My default vhost is: server { server_name 192.168.0.150; location / { root /var/www; } #php locatiby davidlondonuk - How to...