diff --git a/docs/manual/mod/mod_actions.html.en b/docs/manual/mod/mod_actions.html.en index 3aa737f788..26e3eb1aab 100644 --- a/docs/manual/mod/mod_actions.html.en +++ b/docs/manual/mod/mod_actions.html.en @@ -56,11 +56,13 @@ media type or request method.
| Description: | Activates a CGI script for a particular handler or content-type |
|---|---|
| Syntax: | Action action-type cgi-script |
| Syntax: | Action action-type cgi-script [virtual] |
| Context: | server config, virtual host, directory, .htaccess |
| Override: | FileInfo |
| Status: | Base |
| Module: | mod_actions |
| Compatibility: | The virtual modifier was introduced in Apache
+2.1 |
This directive adds an action, which will activate
cgi-script when action-type is triggered by the
@@ -88,6 +90,20 @@ content-type
.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.
+ <Location /news>
+
+ SetHandler news-handler
+ Action news-handler /cgi-bin/news.cgi virtual
+
+ </Location>
+
AddHandler