HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   nginx+Debian Squeeze+ISPCFG3 permission problem (http://www.howtoforge.com/forums/showthread.php?t=60190)

Ovidiu 11th January 2013 09:54

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.

falko 11th January 2013 17:01

It's safe to ignore these nginx warnings.


All times are GMT +2. The time now is 03:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.