1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

vhost issues bothering

Discussion in 'Plesk for Linux - 8.x and Older' started by apro2000, Jul 21, 2005.

  1. apro2000

    apro2000 Guest

    old vhost issues bothering me

    plesk 7.5.2

    tried to set settings for one VH


    <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"

    restarted apache nothing doing...tried several possibilities...any idea...no change to httpd.include made
  2. whitebox

    whitebox Guest

    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
  3. apro2000

    apro2000 Guest

    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?
  4. whitebox

    whitebox Guest

    that is right, it will be overwritten if you put it into httpd.include
  5. apro2000

    apro2000 Guest

    so has anybody a working solution for me? tried the search and tried everything out but it wont work...
  6. jamesyeeoc

    jamesyeeoc Guest

    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.
  7. apro2000

    apro2000 Guest

    would you mind telling me how it hast to look like "the include line"

    thanks for the help
  8. jamesyeeoc

    jamesyeeoc Guest

    Include /home/httpd/vhosts/yourdomain.com/conf/vhost.conf

    This line will be somewhere within the directives:

    <VirtualHost xxx.xxx.xxx.xxx:80>