~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/ja/user-guide/http_smart_server.txt

  • Committer: Jelmer Vernooij
  • Date: 2010-12-20 11:57:14 UTC
  • mto: This revision was merged to the branch mainline in revision 5577.
  • Revision ID: jelmer@samba.org-20101220115714-2ru3hfappjweeg7q
Don't use no-plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        Options Indexes FollowSymLinks
45
45
        RewriteEngine On
46
46
        RewriteBase /code
47
 
        RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
 
47
        RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
48
48
    </Directory>
49
49
 
50
50
    # bzr-smart.fcgiはDocumentRootの元に存在しないので、実行されるように
74
74
 
75
75
FastCGIと同じ方法でmod_rewriteを用いて書き換えルールを定義します::
76
76
 
77
 
    RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
 
77
    RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.fcgi
78
78
 
79
79
変更は次のようになります::
80
80
 
81
 
    RewriteRule ^(.*/|)\.bzr/smart$ /srv/example.com/scripts/bzr-smart.py
 
81
    RewriteRule ^(.*/)?\.bzr/smart$ /srv/example.com/scripts/bzr-smart.py
82
82
 
83
83
mod_fastcgiのように、スクリプトがどのように扱われるのかも定義します::
84
84