PDA

View Full Version : Problem woth forced ads how-to


Gimly
22nd January 2009, 21:24
Hi All,

I've problem with the how-to forced ads (http://www.howtoforge.com/forced-ads-on-ispconfig-with-debian-etch), I respect all the how-to but when I test, I've this error on my web php page :

Warning: Unknown: open_basedir restriction in effect. File(/var/www/ads/e4y_remuneration.php) is not within the allowed path(s): (/var/www/web3) in Unknown on line 0

Fatal error: Can't load /var/www/ads/e4y_remuneration.php, open_basedir restriction. in Unknown on line 0How can I access on dir /var/ww/ads without reduce security ?

Thank you for your answers :)

ISPConfig 2.2.29
Debian Etch
PHP 5.2.8 with SuPHP0.7

till
23rd January 2009, 10:16
You have to install all php scripts inside the web directory of the website and not in /var/www/ads

Gimly
23rd January 2009, 10:42
Ok thanks Till :)

How can I automated the copy of the file on all of the existing website and on new website ? Actually I've over 800 websites.

Thank you for your help :)

--- edit : there are skeleton dir for website folder which contain structure log, web, etc ..., or it's script who create folder ? ----

Gimly
27th January 2009, 10:32
No idea ? ^^

till
27th January 2009, 11:53
In the php ini you can set a path for php libraries,, maybe you can use this to circomvent the open_basedir.

Gimly
27th January 2009, 12:44
ok thanks Till :)