View Single Post
  #1  
Old 11th January 2013, 09:54
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,258
Thanks: 76
Thanked 23 Times in 19 Posts
Default nginx+Debian Squeeze+ISPCFG3 permission problem

Hi there,

I followed this tutorial: http://www.howtoforge.com/perfect-se...nx-ispconfig-3

It seems ISPCFG3 by default gives these permissions to the web folder:

Code:
drwx--x--- 8 web1 client2   4096 Jan  8 16:08 web
which results in my nginx logs being full of these:
Code:
2013/01/11 09:48:08 [crit] 27109#0: *5 open() "/var/www/pacura.ru/web/" failed (13: Permission denied), client: 111.73.46.11, server: pacura.ru, request: "GET / HTTP/1.0", host: "pacura.ru", referrer: "http://pacura.ru/"
If I however manually do a
Code:
chmod -R 755 web/
those errors are gone. This last until I change something in my vhost config via the ISPCFG panel and its back.

Are the defaults wrong or is this just me having a problem?

P.S: the vhost is running a wordpress site.
Reply With Quote
Sponsored Links