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

    0
     
    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
     
  2. whitebox

    whitebox Guest

    0
     
    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

    0
     
    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

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

    apro2000 Guest

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

    jamesyeeoc Guest

    0
     
    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

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

    thanks for the help
     
  8. jamesyeeoc

    jamesyeeoc Guest

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

    This line will be somewhere within the directives:

    <VirtualHost xxx.xxx.xxx.xxx:80>
    </VirtualHost>
     
Loading...