1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

safemode off for subdomains

Discussion in 'Plesk for Linux - 8.x and Older' started by rmtek, Mar 8, 2006.

  1. rmtek

    rmtek Guest


    hello ²all!

    how can i get the safemode off for subdomains?


    the safemode for the rmtek.net is off but for the subdomain it is still on.

    i made a vhost.conf with:

    php_admin_flag safe_mode off
    php_admin_flag register_globals on

    and put it in my rmtek.net conf folder then i did this:

    /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=rmtek.net

    and made a restart of the apache.
    (i put the same vhost.conf in my subdomain conf folder)

    but the safemode for the subdomain is still on.

    what is wrong?

    thanku you for your help!
    p.s. sorry for my bad english
  2. Who-m3

    Who-m3 Guest

    Currently, I don't believe custom vhost.conf's for the subdomains are set to work properly. To verify this, read the file httpd.include in the subdomain directory, see if it has the following line second from the end...

    "Include /var/www/httpd/domain/subdomain/conf/vhost.conf"

    If it doesn't, that's where it's having the problem. You may be able to outline the directive in your regular vhost.conf with the appropriate additional directory directives...
  3. rmtek

    rmtek Guest


    thx for the fast answer!

    i have this in my httpd.iclude file:

    an guess:

    it is running with safemode off! seems that the webserver had to be restartet full. now it works perfekt!

    thumbs up for your fast support!!!