• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

apache2 php4 as fcgi over suexec

R

regen

Guest
Hello,
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
 
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.
 
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)!
 
Originally posted by pdreissen
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.

but i won't do that for each domain.

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)!
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.
 
Originally posted by pdreissen
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).

ok, i understand the concept.

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)!
what you meant with the script,
to generate a complete vhost.conf?
 
Back
Top