HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   webmail error (http://www.howtoforge.com/forums/showthread.php?t=39415)

admins 20th September 2009 12:19

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


till 21st September 2009 09:51

You can not access webmail with symlinks from sites for security reasons (php open basedir restriction).

admins 28th September 2009 16:57

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

till 28th September 2009 17:10

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.

Stown 28th September 2009 17:11

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.

admins 30th September 2009 16:46

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

Stown 30th September 2009 17:03

The best way is to make a new .vhost config file especially for the webmail subdomain.


All times are GMT +2. The time now is 12:42.

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