Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 55294 invoked from network); 4 Mar 2010 14:23:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 14:23:05 -0000 Received: (qmail 65198 invoked by uid 500); 4 Mar 2010 14:22:55 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 65079 invoked by uid 500); 4 Mar 2010 14:22:54 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 65072 invoked by uid 99); 4 Mar 2010 14:22:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:22:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:22:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 95450238898B; Thu, 4 Mar 2010 14:22:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r918997 - in /httpd/httpd/trunk/docs/manual/mod: mod_actions.html.en mod_actions.xml Date: Thu, 04 Mar 2010 14:22:31 -0000 To: cvs@httpd.apache.org From: rbowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100304142231.95450238898B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rbowen Date: Thu Mar 4 14:22:31 2010 New Revision: 918997 URL: http://svn.apache.org/viewvc?rev=918997&view=rev Log: Small rearrangement, placing the explanatory text with the example it explains. Modified: httpd/httpd/trunk/docs/manual/mod/mod_actions.html.en httpd/httpd/trunk/docs/manual/mod/mod_actions.xml Modified: httpd/httpd/trunk/docs/manual/mod/mod_actions.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_actions.html.en?rev=918997&r1=918996&r2=918997&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_actions.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_actions.html.en Thu Mar 4 14:22:31 2010 @@ -75,20 +75,23 @@ environment variables. The handler used for the particular request is passed using the REDIRECT_HANDLER variable.

-

Examples

+

Example: MIME type

# Requests for files of a particular MIME content type:
Action image/gif /cgi-bin/images.cgi

- # Files of a particular file extension
- AddHandler my-file-type .xyz
- Action my-file-type /cgi-bin/program.cgi

-

In the first example, requests for files with a MIME content +

In this example, requests for files with a MIME content type of image/gif will be handled by the specified cgi script /cgi-bin/images.cgi.

-

In the second example, requests for files with a file extension of +

Example: File extension

+ # Files of a particular file extension
+ AddHandler my-file-type .xyz
+ Action my-file-type /cgi-bin/program.cgi
+

+ +

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

Modified: httpd/httpd/trunk/docs/manual/mod/mod_actions.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_actions.xml?rev=918997&r1=918996&r2=918997&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_actions.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_actions.xml Thu Mar 4 14:22:31 2010 @@ -73,20 +73,23 @@ environment variables. The handler used for the particular request is passed using the REDIRECT_HANDLER variable.

- Examples + Example: MIME type # Requests for files of a particular MIME content type:
Action image/gif /cgi-bin/images.cgi

- # Files of a particular file extension
- AddHandler my-file-type .xyz
- Action my-file-type /cgi-bin/program.cgi
-

In the first example, requests for files with a MIME content +

In this example, requests for files with a MIME content type of image/gif will be handled by the specified cgi script /cgi-bin/images.cgi.

-

In the second example, requests for files with a file extension of + Example: File extension + # Files of a particular file extension
+ AddHandler my-file-type .xyz
+ Action my-file-type /cgi-bin/program.cgi
+
+ +

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