From continued experimentation, the fix was that I'd accidentally missed the slash of the alias statement. It should have been:
location /atwell/ {
alias /home/paul/atwell/;
auth_basic "Please log in";
auth_basic_user_file /home/paul/atwell/htpasswd;
index index.php;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;}}
Doh! The errors were very obscure for such a trivial mistake. Such is life.
BTW - How do I post code in this forum??
location /atwell/ {
alias /home/paul/atwell/;
auth_basic "Please log in";
auth_basic_user_file /home/paul/atwell/htpasswd;
index index.php;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;}}
Doh! The errors were very obscure for such a trivial mistake. Such is life.
BTW - How do I post code in this forum??