• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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