httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject svn commit: r943768 - in /httpd/sandbox/mod_allowmethods: ./ docs/ docs/manual/ docs/manual/mod/ modules/ modules/allowmethods/
Date Thu, 13 May 2010 02:15:45 GMT
Author: igalic
Date: Thu May 13 02:15:45 2010
New Revision: 943768

URL: http://svn.apache.org/viewvc?rev=943768&view=rev
Log:
As promised: Documentation. Structuring the directories as illustrated by mod_fcgid

Added:
    httpd/sandbox/mod_allowmethods/docs/
    httpd/sandbox/mod_allowmethods/docs/manual/
    httpd/sandbox/mod_allowmethods/docs/manual/mod/
    httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html   (with props)
    httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html.en   (with props)
    httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml   (with props)
    httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml.meta   (with props)
    httpd/sandbox/mod_allowmethods/modules/
    httpd/sandbox/mod_allowmethods/modules/allowmethods/
    httpd/sandbox/mod_allowmethods/modules/allowmethods/mod_allowmethods.c   (props changed)
      - copied unchanged from r943557, httpd/sandbox/mod_allowmethods/mod_allowmethods.c
Removed:
    httpd/sandbox/mod_allowmethods/mod_allowmethods.c
Modified:
    httpd/sandbox/mod_allowmethods/SConstruct   (contents, props changed)

Modified: httpd/sandbox/mod_allowmethods/SConstruct
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_allowmethods/SConstruct?rev=943768&r1=943767&r2=943768&view=diff
==============================================================================
--- httpd/sandbox/mod_allowmethods/SConstruct (original)
+++ httpd/sandbox/mod_allowmethods/SConstruct Thu May 13 02:15:45 2010
@@ -64,11 +64,11 @@ env.AppendUnique(CPPPATH = [apxs_query(e
 if env['PLATFORM'] == 'darwin':
     env.AppendUnique(LINKFLAGS = ['-undefined', 'dynamic_lookup'])
 
-modsources = Split("""mod_allowmethods.c""")
+modsources = Split("""modules/allowmethods/mod_allowmethods.c""")
 
 env.ParseConfig(apr_config + ' --link-ld --libs')
 env.ParseConfig(apu_config + ' --link-ld --libs')
-module = env.LoadableModule(target = "mod_allowmethods.so", source = [modsources], SHLIBPREFIX='')
+module = env.LoadableModule(target = "modules/allowmethods/mod_allowmethods.so", source =
[modsources], SHLIBPREFIX='')
 
 mod_path = apxs_query(env["APXS"], 'exp_libexecdir')
 bin_path = apxs_query(env["APXS"], 'exp_bindir')

Propchange: httpd/sandbox/mod_allowmethods/SConstruct
------------------------------------------------------------------------------
    svn:eol-style = native

Added: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html?rev=943768&view=auto
==============================================================================
--- httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html (added)
+++ httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html Thu May 13 02:15:45
2010
@@ -0,0 +1,5 @@
+# GENERATED FROM XML -- DO NOT EDIT
+
+URI: mod_allowmethods.html.en
+Content-Language: en
+Content-type: text/html; charset=ISO-8859-1

Propchange: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html.en
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html.en?rev=943768&view=auto
==============================================================================
--- httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html.en (added)
+++ httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html.en Thu May 13 02:15:45
2010
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
+        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+              This file is generated from xml source: DO NOT EDIT
+        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+      -->
+<title>mod_allowmethods - Apache HTTP Server</title>
+<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main
stylesheet" />
+<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all"
type="text/css" title="No Sidebar - Default font size" />
+<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css"
/>
+<link href="../images/favicon.ico" rel="shortcut icon" /></head>
+<body>
+<div id="page-header">
+<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a>
| <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a>
| <a href="../sitemap.html">Sitemap</a></p>
+<p class="apache">Apache HTTP Server Version 2.2</p>
+<img alt="" src="../images/feather.gif" /></div>
+<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif"
/></a></div>
+<div id="path">
+<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP
Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a>
&gt; <a href="../">Version 2.2</a> &gt; <a href="./">Modules</a></div>
+<div id="page-content">
+<div id="preamble"><h1>Apache Module mod_allowmethods</h1>
+<div class="toplang">
+<p><span>Available Languages: </span><a href="../en/mod/mod_allowmethods.html"
title="English">&nbsp;en&nbsp;</a></p>
+</div>
+<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Easily
restrict what HTTP methods can be used on the server</td></tr>
+<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
+<tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>allowmethods_module</td></tr>
+<tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_allowmethods.c</td></tr></table>
+<h3>Summary</h3>
+
+<p>This modules makes it easy to restrict what HTTP methods can
+used on an server. The most common configuration would be:</p>
+
+<div class="example"><h3>Example</h3><p><code>
+&lt;Directory /&gt;<br />
+<span class="indent">
+   AllowMethods GET HEAD OPTIONS<br />
+</span>
+&lt;/Directory&gt;
+</code></p></div>
+
+</div>
+<div id="quickview"><h3 class="directives">Directives</h3>
+<ul id="toc">
+<li><img alt="" src="../images/down.gif" /> <a href="#allowmethods">AllowMethods</a></li>
+</ul>
+</div>
+
+<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
+<div class="directive-section"><h2><a name="AllowMethods" id="AllowMethods">AllowMethods</a>
<a name="allowmethods" id="allowmethods">Directive</a></h2>
+<table class="directive">
+<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Changes
absolutely nothing</td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AllowMethods
reset|<em>HTTP-method</em> 
+[<em>HTTP-method</em>]...</code></td></tr>
+<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AllowMethods
reset</code></td></tr>
+<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory</td></tr>
+<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
+<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_allowmethods</td></tr>
+</table>
+
+<p>The HTTP-methods are case sensitive, and are generally as per
+RFC given in upper case. The <code>reset</code> keyword can be used
+turn off <code class="module"><a href="../mod/mod_allowmethods.html">mod_allowmethods</a></code>
in a deeper nested context:</p>
+
+<div class="example"><h3>Example</h3><p><code>
+&lt;Location /svn&gt;<br />
+<span class="indent">
+   AllowMethods reset<br />
+</span>
+&lt;/Location&gt;
+</code></p></div>
+
+<p><code class="module"><a href="../mod/mod_allowmethods.html">mod_allowmethods</a></code>
was written to replace the rather
+kludgy implementation of <code class="directive"><a href="../mod/core.html#limit">Limit</a></code>
and
+<code class="directive"><a href="../mod/core.html#limitexcept">LimitExcept</a></code>.</p>
+
+</div>
+</div>
+<div class="bottomlang">
+<p><span>Available Languages: </span><a href="../en/mod/mod_allowmethods.html"
title="English">&nbsp;en&nbsp;</a></p>
+</div><div id="footer">
+<p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed
under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
2.0</a>.</p>
+<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a>
| <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a>
| <a href="../sitemap.html">Sitemap</a></p></div>
+</body></html>
\ No newline at end of file

Propchange: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.html.en
------------------------------------------------------------------------------
    svn:eol-style = native

Added: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml?rev=943768&view=auto
==============================================================================
--- httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml (added)
+++ httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml Thu May 13 02:15:45
2010
@@ -0,0 +1,85 @@
+<?xml version="1.0"?> 
+<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
+<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?> 
+<!-- $LastChangedRevision$ -->
+
+<!--
+Upon adding a new module XML doc, you will need to:
+
+svn ps svn:eol-style native <alltextfiles>
+svn ps svn:keywords LastChangedRevision mod_allowmethods.xml
+
+in order for it to rebuild correctly.
+
+-->
+                                                                                        
                                         
+<!--                                                                                 
                                            
+ Licensed to the Apache Software Foundation (ASF) under one or more 
+ contributor license agreements.  See the NOTICE file distributed with 
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0 
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<modulesynopsis metafile="mod_allowmethods.xml.meta"> 
+<name>mod_allowmethods</name>
+<description>Easily restrict what HTTP methods can be used on the server</description>
+<status>experimental</status>
+<sourcefile>mod_allowmethods.c</sourcefile>
+<identifier>allowmethods_module</identifier>
+
+
+<summary>
+<p>This modules makes it easy to restrict what HTTP methods can
+used on an server. The most common configuration would be:</p>
+
+<example><title>Example</title>
+&lt;Directory /&gt;<br />
+<indent>
+   AllowMethods GET HEAD OPTIONS<br />
+</indent>
+&lt;/Directory&gt;
+</example>
+
+</summary>
+
+<directivesynopsis>
+<name>AllowMethods</name>
+<description>Changes absolutely nothing</description>
+<syntax>AllowMethods reset|<em>HTTP-method</em> 
+[<em>HTTP-method</em>]...</syntax>
+<default>AllowMethods reset</default>
+<contextlist><context>directory</context></contextlist>
+<status>Experimental</status>
+
+<usage>
+
+<p>The HTTP-methods are case sensitive, and are generally as per
+RFC given in upper case. The <code>reset</code> keyword can be used
+turn off <module>mod_allowmethods</module> in a deeper nested context:</p>
+
+<example><title>Example</title>
+&lt;Location /svn&gt;<br />
+<indent>
+   AllowMethods reset<br />
+</indent>
+&lt;/Location&gt;
+</example>
+
+<p><module>mod_allowmethods</module> was written to replace the rather
+kludgy implementation of <directive module="core">Limit</directive> and
+<directive module="core">LimitExcept</directive>.</p>
+</usage>
+</directivesynopsis>
+
+</modulesynopsis>
+

Propchange: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml
------------------------------------------------------------------------------
    svn:keywords = LastChangedRevision

Added: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml.meta
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml.meta?rev=943768&view=auto
==============================================================================
--- httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml.meta (added)
+++ httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml.meta Thu May 13 02:15:45
2010
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!-- GENERATED FROM XML: DO NOT EDIT -->
+
+<metafile>
+  <basename>mod_allowmethods</basename>
+  <path>/mod/</path>
+  <relpath>..</relpath>
+
+  <variants>
+    <variant>en</variant>
+  </variants>
+</metafile>

Propchange: httpd/sandbox/mod_allowmethods/docs/manual/mod/mod_allowmethods.xml.meta
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpd/sandbox/mod_allowmethods/modules/allowmethods/mod_allowmethods.c
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message