PHP open_basedir variables
As open_basedir can't follow symlinks and it uses real paths to set environment restriction, if someone like me moves /var/www to /mydata/www and creates a symlink /var/www -> /mydata/www, and an app like wordpress (or others) reads real path instead symlink path, that path will be outside open_basedir default path of ispconfig (which points to /var/www/...).
In order to fix this, and allow a "template" path more usefull to be used in "PHP open_basedir" in server config two variables must be defined:
e.g. /mydata/www/clients/client[client_id]/web[website_id]/web,....other paths
Variables to be implemented should be client_id and website_id
In ISPConfig 184.108.40.206, this was the changes I had to make (I think that in 220.127.116.11 this should work too)
At line 430, add this:
At line 60, maxlength="255" should be modified to maxlength="500"
I can't remember if I had to modify something else, but the core of the feature to be implemented is posted above.
Could this be implemented?
Thanks in advance
|All times are GMT +2. The time now is 18:13.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.