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=16)
-   -   ispconfig & alias squirrelmail (http://www.howtoforge.com/forums/showthread.php?t=10921)

ctpaba 26th February 2007 23:07

ispconfig & alias squirrelmail
 
hello
I have ISPCONFIG on Debian Sarge with SquirrelMail and all work great, access at webmails in http://mydomain.tld:81/squirrelmail/src/login.php work good.
I wish to create alias in /etc/apache2/apache2.conf for access with next url http://mydomain.tld/webmail adding a line Alias /webmail /home/admispconfig/ispconfig/web/squirrelmail normaly this work but i have next error message

Warning: Unknown(): open_basedir restriction in effect. File(/home/admispconfig/ispconfig/web/squirrelmail/index.php) is not within the allowed path(s): (/home/www/web12/) in Unknown on line 0

Warning: Unknown(/home/admispconfig/ispconfig/web/squirrelmail/index.php): failed to open stream: Operation not permitted in Unknown on line 0

Warning: (null)(): Failed opening '/home/admispconfig/ispconfig/web/squirrelmail/index.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0


any idea ?

P.S. sry for my bad english

till 27th February 2007 08:28

Your PHP installation has a open basedir restriction set, thats why it cant include the php files from ISPConfig.

If this is a website created in ISPCOnfig, then you will have to disable the php safemode checkbox for it.

ctpaba 28th February 2007 00:08

in my php.ini "open_basedir" was comment for disabled this option. I was try to uncomment and set "open_basedir = /" but I have allready same error.

in my server I have 3 php.ini :
/etc/php4/cli/php.ini
/etc/php4/apache2/php.ini
/root/ispconfig/php/php.ini

this parameter was changed in all php.ini files :(

10x

till 28th February 2007 08:18

If there was a comment sign, this function was already deactivated. Please undo your changes in the php.ini files. Please bever edit the file /root/ispconfig/php/php.ini if you wont break ISPConfig!

As open_basedir was disbled already, please do waht I posted above:

Quote:

If this is a website created in ISPCOnfig, then you will have to disable the php safemode checkbox for it.


All times are GMT +2. The time now is 19:10.

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