OK I think I have a handle on what the problem is but no solution.
I’m hosted by 1&1 at the moment. It is a dedicated server. It has Plesk on it.
I have worked on my CMS project for six months virtually solidly. 1&1 is probably going to have to be the server for reasons I won’t go into. So I really need a fix for this.
http://modxcms.com/forums/index.php?topic=25366.0
discussed this but the hack doesn’t work, although it did at least let me see the manager (just not log in, see the error message or do anything useful).
I have tried various versions of this:
<Directory /srv/www/vhosts/$domain.com/subdomains/$subDomName/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/srv/www/vhosts/$domain.com/httpdocs:/srv/www/vhosts/$domain.com/subdomains/$subDomName/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/srv/www/vhosts/$domain.com/httpdocs:/srv/www/vhosts/$domain.com/subdomains/$subDomName/httpdocs:/tmp"
</IfModule>
</Directory>
in the conf/vhost.conf, one of which crashed the server completely. This ought to be the trivial solution to the problem but I cannot get it to work. I tried a single domain one too, this is the last one I tried because the person in the posting seemed to believe it worked
http://enarion.net/web/plesk/subdomains-and-open_basedir/.
Incidently I also did a clean install of modx in another directory with an empty database, the default page came up but no manager still.
This is pretty much failure is not an option for me, the consequences could be fairly huge if I don’t.
So I’m pretty much begging for a conf/vhost.conf file that 100% works and is tested or a core hack of modx that is 100% reliable. If I was done last night, I’m really done now, tried my very best with the 1&1 helpdesk, but essentially they said it was my problem. Whereas I think it’s 1&1’s problem or Plesk’s.
Really can anyone help me out?