vrana           Tue Mar  8 08:51:17 2005 EDT

  Modified files:              
    /phpdoc/en/faq      installation.xml 
  Log:
  Request methods (bug #32218)
  
http://cvs.php.net/diff.php/phpdoc/en/faq/installation.xml?r1=1.42&r2=1.43&ty=u
Index: phpdoc/en/faq/installation.xml
diff -u phpdoc/en/faq/installation.xml:1.42 phpdoc/en/faq/installation.xml:1.43
--- phpdoc/en/faq/installation.xml:1.42 Wed Feb  2 16:01:26 2005
+++ phpdoc/en/faq/installation.xml      Tue Mar  8 08:51:17 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.42 $ -->
+<!-- $Revision: 1.43 $ -->
  <chapter id="faq.installation">
   <title>Installation</title>
   <titleabbrev>Installation</titleabbrev>
@@ -680,6 +680,29 @@
     </answer>
    </qandaentry>
 
+   <qandaentry id="faq.installation.requestmethods">
+    <question>
+     <para>
+      Is PHP limited to process GET and POST request methods only?
+     </para>
+    </question>
+    <answer>
+     <para>
+      No, it is possible to handle any request method, e.g. CONNECT. Proper
+      response status can be sent with <function>header</function>.
+      If only GET and POST methods should be handled, it can be achieved with
+      this Apache configuration:
+      <programlisting role="apache-conf">
+<![CDATA[
+<LimitExcept GET POST>
+Deny from all
+</LimitExcept>
+]]>
+     </programlisting>
+     </para>
+    </answer>
+   </qandaentry>
+
   </qandaset>
  </chapter>
 

Reply via email to