vhost action

Apache, Lighttpd, nginx, Cherokee
Post Reply
jospbln
Posts: 8
Joined: 2004-09-03 15:03
 

vhost action

Post by jospbln »

hallo,

mein Server läuft auf Suse 9.1 und plesk 7.5.0

Ich lasse in einem domain directory alle .phtml scripte als cgi laufen.
In der vhost.conf steht daher:
Action phtml-script /cgi-bin/php-cgi
AddHandler phtml-script .phtml

Jetzt möchte ich auch in einer anderen domain .phtml als cgi laufen lassen, aber das php-cgi aus der ersten domain nutzen. Wenn ich aber jetzt hier ein vhost.conf file schreibe mit
Action phtml-script ../hauptdomain/cgi-bin/php-cgi
oder
Action phtml-script http://hauptdomain/cgi-bin/php-cgi
geht das leider nicht...

Hat jemand nen Tipp?

Gruss
Josp
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: vhost action

Post by Joe User »

man cp
man ln
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply