On Tue, Nov 9, 2010 at 3:04 PM, Axel Gallus <axel.gal...@profindis.de> wrote:
>
> I will read about it in the documentation, but maybe you could give me
> an example right off the bat?

something like

<Location /myapp/>             # or other type of container
AddHandler runphp .cgi
Action runphp /cgi-bin/php-cgi
</Location>

with that relative path on the Action, the php-cgi binary would need
to be in serverroot/cgi-bin

alternatively, you can create wrapper in cgi-bin called php-cgi

#!/bin/sh
exec /full/path/to/php-cgi $*

but that has extra processing to get to the real php binary

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to