#1  
Old 20th September 2009, 13:19
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default webmail error

Hi all

I've installed horde webmail to /var/www/webmail .
No I've add a symlink to it in the web part

No I become this error, when I want to open mydomain.de/webmail

Code:
Warning: Unknown: open_basedir restriction in effect. File(/var/www/mydomain/web/webmail/index.php) is not within the allowed path(s): (/var/www/clients/client1/web4/web:/var/www/clients/client1/web4/tmp:/usr/share/php5) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/var/www/mydomain/web/webmail/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
Reply With Quote
Sponsored Links
  #2  
Old 21st September 2009, 10:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,482
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

You can not access webmail with symlinks from sites for security reasons (php open basedir restriction).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th September 2009, 17:57
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default

May in the version 3.0.1.3 was it possible....
One of our customer use the webmailscript wich creates symlinks for the webmail. Many users too ....??!!

admins
Reply With Quote
  #4  
Old 28th September 2009, 18:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,482
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

ISPConfig 3.0.1.4 uses stricter security settings to protect the website data of all websites to be accessed from another website of the same vhost. You can edit the amsetr template for the vhost and remove the open_basedir restrictions if you dont want this additional security, but I highly recommend to not remove it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th September 2009, 18:11
Stown Stown is offline
Member
 
Join Date: Jun 2009
Location: Limburg, NL
Posts: 83
Thanks: 12
Thanked 5 Times in 5 Posts
Send a message via Skype™ to Stown
Default

Thats correct but in the newer version it is changed. You must edit the cgi_starter script for that domain and comment the open_basedir line. Restart apache to make sure it works.
Reply With Quote
  #6  
Old 30th September 2009, 17:46
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default

Hi
Or where could I add automatically a line, that in all vhosts the alias /webmail to /var/www/webmail is allowed, so that I do not neat remove this restriction?

Thanks
admins
Reply With Quote
  #7  
Old 30th September 2009, 18:03
Stown Stown is offline
Member
 
Join Date: Jun 2009
Location: Limburg, NL
Posts: 83
Thanks: 12
Thanked 5 Times in 5 Posts
Send a message via Skype™ to Stown
Default

The best way is to make a new .vhost config file especially for the webmail subdomain.
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
CP210x USB to UART Bridge Linux VCP Drivers(SILICON Labs) perfectpol7 Kernel Questions 13 9th November 2010 08:30
mod_layout and php gd branov Installation/Configuration 8 2nd September 2009 16:51
Problem installing ISPConfig on Suse10.1 nliebherr Installation/Configuration 18 14th September 2007 01:30
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 17:14


All times are GMT +2. The time now is 14:36.


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