• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

vhost issues bothering

A

apro2000

Guest
old vhost issues bothering me

plesk 7.5.2

tried to set settings for one VH

like

<Directory /home/httpd/vhosts/domain.de/httpdocs>
php_admin_flag engine on
php_admin_flag register_globals 1 <-- or ON neither worked!
php_admin_flag safe_mode 0
php_admin_value open_basedir "/home/httpd/vhosts/domain.de/httpdocs:/tmp"
</Directory>

restarted apache nothing doing...tried several possibilities...any idea...no change to httpd.include made
 
same thing happend to me too, so what i did i change register_global in httpd.conf
i have red hat 9.0 and my httpd.conf is in /etc/httpd/conf/
i hope this help
 
i don't want to change it for the whole server and if you put it in the httpd.include it's going to be overwritten, right?
 
that is right, it will be overwritten if you put it into httpd.include
 
so has anybody a working solution for me? tried the search and tried everything out but it wont work...
 
You restarted apache after you made the changes, right? (on RH systems, service httpd restart, or use the control panel to restart it.)

Also check the /home/httpd/vhosts/domain.com/conf/httpd.include file to make sure it has the 'Include' line for your vhost.conf and/or vhost_ssl.conf file. If it's not there, then changes made in the vhost files will not be applied to the domain.

You can also issue the command:

/usr/local/psa/admin/bin/websrvmng -u --vhost-name=yourdomainname.com

to force Plesk to reconfig that virtual domain.
 
would you mind telling me how it hast to look like "the include line"

thanks for the help
 
Include /home/httpd/vhosts/yourdomain.com/conf/vhost.conf

This line will be somewhere within the directives:

<VirtualHost xxx.xxx.xxx.xxx:80>
</VirtualHost>
 
Back
Top