View Single Post
  #1  
Old 11th January 2013, 13:16
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default weird behavior with perfect Debian nginx server + ISPCFG3

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

Code:
/var/www/clients/client2# ls -al
total 12
drwxr-xr-x 3 root root    4096 Jan  6 16:04 .
drwxr-xr-x 3 root root    4096 Jan  6 16:04 ..
lrwxrwxrwx 1 root root      30 Jan  6 16:04 pacura.ru -> /var/www/clients/client2/web1/
drwxr-x--x 6 web1 client2 4096 Jan  6 16:23 web1
SO: pacura.ru is web1 and belongs to client2, right?

Coincidentally found this by doing a
Code:
tail -f /var/log/ispconfig/httpd/pacura.ru/error.log
Code:
2013/01/11 12:03:19 [error] 28030#0: *3768 FastCGI sent in stderr: "PHP message: PHP Warning:  imagecreatefrompng(): open_basedir restriction in effect. File(/var/www/clients/client1/web3/web/wp-content/plugins/gd-star-rating/stars/oxygen/stars20.png) is not within the allowed path(s): (/var/www/clients/client2/web1/web:/var/www/clients/client2/web1/tmp:/var/www/pacura.ru/web:/srv/www/pacura.ru/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in /var/www/clients/client2/web1/web/wp-content/plugins/gd-star-rating/code/gfx/generator.php on line 17
and if I go to ISPCFG panel and edit the site we are talking about, under options it says:
Code:
/var/www/clients/client2/web1/web:/var/www/clients/client2/web1/tmp:/var/www/pacura.ru/web:/srv/www/pacura.ru/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php
How come? No wonder I'm really struggling with multiple problems here :-(
SHall I start from scratch? I haven't done much, just installed the server, moved one website, tested.
Reply With Quote
Sponsored Links