From: André Malo Date: Mon, 14 Jul 2003 12:37:25 +0000 (+0000) Subject: document new Action modifier X-Git-Tag: pre_ajp_proxy~1437 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ba42fad4cc7bd6b6cd9005fe3d1f5e85b4fc4af;p=thirdparty%2Fapache%2Fhttpd.git document new Action modifier git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100590 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_actions.xml b/docs/manual/mod/mod_actions.xml index d23ce48f6c1..78368ef5555 100644 --- a/docs/manual/mod/mod_actions.xml +++ b/docs/manual/mod/mod_actions.xml @@ -30,12 +30,14 @@ media type or request method. Action Activates a CGI script for a particular handler or content-type -Action action-type cgi-script +Action action-type cgi-script [virtual] server configvirtual host directory.htaccess FileInfo +The virtual modifier was introduced in Apache +2.1

This directive adds an action, which will activate @@ -66,6 +68,20 @@ content-type

In the second example, requests for files with a file extension of .xyz are handled instead by the specified cgi script /cgi-bin/program.cgi.

+ +

The optional virtual modifier turns off the check + whether the requested file really exists. This is useful, for example, + if you want to use the Action directive in + virtual locations.

+ + Example + <Location /news>
+ + SetHandler news-handler + Action news-handler /cgi-bin/news.cgi virtual + + </Location> +
AddHandler