Re: [Dorset] nginx Setup / Configuration

2017-02-18 Thread Ralph Corderoy
Hi Terry, > > What's the user, group, and permissions on /var/www, e.g. `ls -ld > > /var/www'? > > The content is in /var/www/html. Is it the permissions of that > directory or the higher one? That one, sorry. I took the `html directory at /var/www' as a description of /var/www. :-) Cheers,

Re: [Dorset] nginx Setup / Configuration

2017-02-18 Thread John Carlyle-Clarke
Hi Terry. It's probably file permissions. Check what user the nginx server runs as, and make sure they have access to the files. They will need rx permission at least to every directory down to them from / as well, I believe. To check, switch to root then do: sudo -i -u nginx (Replace nginx

Re: [Dorset] nginx Setup / Configuration

2017-02-18 Thread Terry Coles
On Saturday, 18 February 2017 17:47:32 GMT Ralph Corderoy wrote: Ralph, I've got a few things to do tonight, so won't get onto this until tomorrow. In the meantime: > Does your nginx set-up have /etc/nginx/sites-{available,enabled}? Are > symlinks in the latter pointing at configuration files

Re: [Dorset] nginx Setup / Configuration

2017-02-18 Thread Ralph Corderoy
Hi Terry, > The problem is, that I can't get access to the two pages anymore ;-( I > can connect to the nginx landing page at the root of the server, but > anything else gives me an error 403 (do not have permission to view > the page). ... > The problem seems to come down to the fact that I can

[Dorset] Fwd: SSH into Raspberry Pi Problems

2017-02-18 Thread PeterMerchant via dorset
For the last little while, I have not been able to access my R-Pi software after creating new SD cards. I thought it was something that I have done wrong. Now I find out it isn't www.raspberrypi.org/documentation/remote-access/ssh/ 3. ENABLE SSH As of the November 2016 release, Raspbian

Re: [Dorset] SSH into Raspberry Pi Problems

2017-02-18 Thread Terry Coles
On Saturday, 18 February 2017 10:09:42 GMT PeterM wrote: > For the last little while, I have not been able to access my R-Pi > software after creating new SD cards. I thought it was something that I > have done wrong. > > Now I find out it isn't > >

[Dorset] nginx Setup / Configuration

2017-02-18 Thread Terry Coles
Hi, Back in August we had some discussion about setting up a webserver to run in a walled garden (literally :-) ) at the Wimborne Model Town. As a proof of concept, I created two simple pages (Audio Guide and Kiddies Quiz, see below) and put them onto a Raspberry Pi running nginx. At the

[Dorset] SSH into Raspberry Pi Problems

2017-02-18 Thread PeterM
For the last little while, I have not been able to access my R-Pi software after creating new SD cards. I thought it was something that I have done wrong. Now I find out it isn't www.raspberrypi.org/documentation/remote-access/ssh/ 3. ENABLE SSH As of the November 2016 release, Raspbian