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

vhost.conf

Discussion in 'Plesk for Linux - 8.x and Older' started by PedstersPlanet, May 21, 2008.

  1. PedstersPlanet

    PedstersPlanet Guest

    0
     
    I need to use a vhost.conf for a domain (for a php_admin_flag setting), but when I create the vhost.conf file in

    and issue the

    I see no

    in /var/www/vhosts/<domain-name>/conf/httpd.include

    What is going on?
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    do

    Code:
    touch /var/www/vhosts/domain.com/conf/vhost.conf
    nano -w /var/www/vhosts/domain.com/conf/vhost.conf
    
    place in it

    Code:
    <Directory /var/www/vhosts/domain.com/httpdocs>
    php_value whatever whatever
    </Directory>
    
    Then run

    Code:
    /usr/local/psa/admin/bin/websrvmng -u --vhost-name=domain.com
    
    restart apache
    Code:
    service httpd restart
    
     
  3. PedstersPlanet

    PedstersPlanet Guest

    0
     
    Thank you vm :)
     
Loading...