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

apache2 php4 as fcgi over suexec

Discussion in 'Plesk for Linux - 8.x and Older' started by regen, Oct 18, 2006.

  1. regen

    regen Guest

    i want to perform a configuration like thisthis with plesk. I want that the user can run php scripts with its own user/group only, such like in the tutorial above.

    But i've no idea how plesk handles the apache templating.. i've found a template under /opt/psa/admin/conf/httpsd.conf. I think it's for the plesk login only, am i right?

    where can i find the main template that generate the domain user files?
    for example: /var/www/vhosts/domain.de/conf/httpd.include
  2. regen

    regen Guest

    hell! is there no support for such a simple question or have i mispelled something?

    i would do some changes in the apache2 configuration, chages for every user.
  3. pdreissen

    pdreissen Guest

    Please search articles about vhost.conf that is what you need!

    You need to create a vhost.conf in the domain/conf/ directorie in which you make your changes.

    After you create the vhost.conf file, run:

    /usr/local/psa/admin/sbin/websrvmng -a -v

    That way the vhost.conf will be included into the httpd.include (in the same dir). if you want to template this then you need to create a batch script which you fire with a new event (look for event manager)!
  4. regen

    regen Guest


    but i won't do that for each domain.

    a batch script? for templating! is there a reference for that things? i've found only silly GUI hoto's, but not whats going deeper into the matter.
  5. regen

    regen Guest


    ok, i understand the concept.

    what you meant with the script,
    to generate a complete vhost.conf?