Rev 5479: (vila) Fix the documentation on using the smart server with Apache in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Mon Oct 11 12:07:52 BST 2010


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5479 [merge]
revision-id: pqm at pqm.ubuntu.com-20101011110750-blyz6d15y6t61s6i
parent: pqm at pqm.ubuntu.com-20101011021544-4gewnsxq9vvjpggc
parent: v.ladeuil+lp at free.fr-20101011102723-ttkp1trr7k4gybbe
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2010-10-11 12:07:50 +0100
message:
  (vila) Fix the documentation on using the smart server with Apache
  	(Neil Martinsen-Burrell)
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  doc/en/user-guide/http_smart_server.txt fastcgi.txt-20061005091552-rz8pva0olkxv0sd8-3
  doc/ja/user-guide/http_smart_server.txt http_smart_server.tx-20091029100035-1rni8rgpen0pe1g2-41
=== modified file 'NEWS'
--- a/NEWS	2010-10-11 02:15:44 +0000
+++ b/NEWS	2010-10-11 10:27:23 +0000
@@ -19,6 +19,9 @@
 Bug Fixes
 *********
 
+* Don't force openssh to use protocol=2, since that is now the default.
+  (Neil Martinsen-Burrell, #561061)
+
 Improvements
 ************
 
@@ -81,9 +84,6 @@
   using this, make sure the process holding the lock really is dead.)
   (Martin Pool, #397315)
 
-* Don't force openssh to use protocol=2, since that is now the default.
-  (Neil Martinsen-Burrell, #561061)
-
 * Fix signature of RemoteBzrDir.create_workingtree to match that of its
   superclass.  (Neil Martinsen-Burrell, Martin Pool, #524627)
 
@@ -122,6 +122,9 @@
 Documentation
 *************
 
+* Correct the documentation for setting up the smart server with Apache.
+  (Neil Martinsen-Burrell, #311518)
+
 * Provide more detailed help on the Launchpad plugin at "bzr help
   plugins/launchpad".  (Neil Martinsen-Burrell, #589379)
 

=== modified file 'doc/en/user-guide/http_smart_server.txt'
--- a/doc/en/user-guide/http_smart_server.txt	2010-10-01 23:09:27 +0000
+++ b/doc/en/user-guide/http_smart_server.txt	2010-10-05 03:31:50 +0000
@@ -47,7 +47,7 @@
         Options Indexes FollowSymLinks
         RewriteEngine On
         RewriteBase /code
-        RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
+        RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
     </Directory>
 
     # bzr-smart.fcgi isn't under the DocumentRoot, so Alias it into the URL
@@ -80,11 +80,11 @@
 Define the rewrite rules with mod_rewrite the same way as for FastCGI, except
 change::
 
-    RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
+    RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
 
 to::
 
-    RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.py
+    RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.py
 
 Like with mod_fastcgi, we also define how our script is to be handled::
 

=== modified file 'doc/ja/user-guide/http_smart_server.txt'
--- a/doc/ja/user-guide/http_smart_server.txt	2009-12-02 20:34:07 +0000
+++ b/doc/ja/user-guide/http_smart_server.txt	2010-10-05 03:31:50 +0000
@@ -44,7 +44,7 @@
         Options Indexes FollowSymLinks
         RewriteEngine On
         RewriteBase /code
-        RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
+        RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
     </Directory>
 
     # bzr-smart.fcgiはDocumentRootの元に存在しないので、実行されるように
@@ -74,11 +74,11 @@
 
 FastCGIと同じ方法でmod_rewriteを用いて書き換えルールを定義します::
 
-    RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
+    RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
 
 変更は次のようになります::
 
-    RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.py
+    RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.py
 
 mod_fastcgiのように、スクリプトがどのように扱われるのかも定義します::
 




More information about the bazaar-commits mailing list