]> sipb.mit.edu Git - ikiwiki.git/commitdiff
remove cgi exclusion
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 12 Sep 2009 04:24:57 +0000 (00:24 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 12 Sep 2009 04:24:57 +0000 (00:24 -0400)
Note that a typical use of this plugin is for a static site, w/o cgi
support enabled.

IkiWiki/Plugin/rsync.pm
doc/plugins/rsync.mdwn

index 45bff19bd357b6e1a80f239d983f54085c5cec92..e38801e4a110b0b9e4790935de65f08bce30441e 100644 (file)
@@ -19,7 +19,7 @@ sub getsetup () {
                },
                rsync_command => {
                        type => "string",
-                       example => "rsync -qa --delete . user\@host:/path/to/docroot/ --exclude ikiwiki.cgi",
+                       example => "rsync -qa --delete . user\@host:/path/to/docroot/",
                        description => "command to run to sync updated pages",
                        safe => 0,
                        rebuild => 0,
index 9bfe7303e451481db70d4e13d65873ac8c81379f..e0ab96d142808a56f35691bf0db1994adca5c225 100644 (file)
@@ -7,11 +7,12 @@ The command to run is specified by setting `rsync_command` in your setup
 file. The command will be run in your destdir, so something like this
 is a typical command:
 
-       rsync => 'rsync -qa --delete . user@host:/path/to/docroot/ --exclude ikiwiki.cgi',
+       rsync => 'rsync -qa --delete . user@host:/path/to/docroot/',
 
 If using rsync over ssh, you will need to enable noninteractive ssh login
 to the remote host. It's also a good idea to specify the exact command line
 to be permitted in the remote host's `$HOME/.ssh/authorized_keys`.
 
-Be sure to exclude the `ikiwiki.cgi` wrapper from being sent to the remote
-host, as in the above example.
+A typival ikiwiki configuration when using this plugin is to disable cgi
+support, so ikiwiki builds a completely static site that can be served from
+the remote host.