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

vhost.conf & vhost_ssl.conf

Discussion in 'Plesk for Linux - 8.x and Older' started by Ysean, Mar 29, 2005.

  1. Ysean

    Ysean Guest

    0
     
    How about someone from SWsoft posting a document regarding these files? I've found NO details anywhere online as to the commands or syntax of these files. I'm trying to modify the vhost php settings and I keep getting errors of this type:

    /etc/init.d/httpd gracefulSyntax error on line 7 of /home/httpd/vhosts/orders.shawhosting.com/conf/vhost_ssl.conf:
    php_admin_value takes two arguments, PHP Value Modifier (Admin)

    I'm getting rather annoyed. I'm totally shocked I haven't been able to find any documentation on these files. :(
     
  2. eWebtricity

    eWebtricity Guest

    0
     
    Post what your trying to accomplish and maybe someone can help you in the meantime?

    I'd like to see the same documentation.
     
  3. Ysean

    Ysean Guest

    0
     
    Here's the content of the file....

    After trying different things to get it working on my own here's the current status...

    /etc/init.d/httpd graceful
    Syntax error on line 5 of /home/httpd/vhosts/orders.shawhosting.com/conf/vhost_ssl.conf:
    php_admin_value takes two arguments, PHP Value Modifier (Admin)


    vhost_ssl.conf
    <Directory /home/httpd/vhosts/orders.shawhosting.com/httpsdocs>
    php_admin_flag register_globals On
    php_admin_flag session.use_only_cookies Off
    php_admin_flag register_argc_argv On
    php_admin_value open_basedir = none
    php_admin_flag short_open_tag On
    php_admin_flag safe_mode Off
    php_admin_value error_reporting = 2039
    php_admin_value memory_limit = 32M
    </Directory>
     
  4. Ysean

    Ysean Guest

    0
     
    welp support helped

    It appears "=" is not an allowed character in the files.
     
  5. Snapdragon

    Snapdragon Guest

    0
     
    These files don't differ in any way from what you would put into httpd.conf - they are just "include" files that you can edit without Plesk overwriting them.

    So anything you could put in your httpd.conf apache file, you can put here. Same syntax applies.

    Apache reads httpd.conf which Plesk adds "Include httpd.include" to

    httpd.include then lists all your domains which has "Include domain/conf/httpd.include" in it

    Then if you create vhost.conf files and run websrvmsg -a -v, and it finds them, Plesk adds "Include vhost.conf" to the domain's httpd.include file.

    This way Apache reads down the chain and finds all the commands to use.

     
  6. GARMTECH

    GARMTECH Guest

    0
     
Loading...