• 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

vhost.conf action

jospBln

New Pleskian
hello,

I use vhost.conf to run .phtml scripts with php as cgi:
Action phtml-script /cgi-bin/php-cgi AddHandler phtml-script .phtml

This works.

Now I would like to use in another directory this php-cgi.

But i think
Action phtml-script ../../cgidomain/cgi-bin/php-cgi
in the other vhost.conf won't work, or?

How do I do this?
Do I have to have the php-cgi in every domain?

thanks
Josp
 
Back
Top