#1  
Old 22nd January 2009, 21:24
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default Problem woth forced ads how-to

Hi All,

I've problem with the how-to forced ads, I respect all the how-to but when I test, I've this error on my web php page :

Code:
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 0
How 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
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's

Last edited by Gimly; 22nd January 2009 at 21:35.
Reply With Quote
Sponsored Links
  #2  
Old 23rd January 2009, 10:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,483
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

You have to install all php scripts inside the web directory of the website and not in /var/www/ads
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd January 2009, 10:42
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

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 ? ----
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's

Last edited by Gimly; 23rd January 2009 at 11:30.
Reply With Quote
  #4  
Old 27th January 2009, 10:32
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

No idea ? ^^
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #5  
Old 27th January 2009, 11:53
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,483
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

In the php ini you can set a path for php libraries,, maybe you can use this to circomvent the open_basedir.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 27th January 2009, 12:44
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
 
Default

ok thanks Till
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 11:49
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
forced ads for the admin grandpagenocide Feature Requests 6 22nd November 2008 04:20
Forced ADs for users web only kextra1 Tips/Tricks/Mods 3 21st November 2008 14:17
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 09:04


All times are GMT +2. The time now is 16:59.


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