HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   webmail error (

admins 20th September 2009 13: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


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 10:51

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

admins 28th September 2009 17:57

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


till 28th September 2009 18:10

ISPConfig 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 18: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 17:46

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?


Stown 30th September 2009 18: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 00:49.

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