aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/download_links_for_attachments
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2013-10-18 12:56:15 -0400
committeradmin <admin@branchable.com>2013-10-18 12:56:15 -0400
commit3ccdc9d447e21d6b634d425e7e0161670aaafda9 (patch)
treebbb4d332ba78b9687da2b835cd3c1a0756e2065a /doc/forum/download_links_for_attachments
parentd704313569ee29f1eb6818fef38b7f0bcdc2140b (diff)
downloadikiwiki-3ccdc9d447e21d6b634d425e7e0161670aaafda9.tar
ikiwiki-3ccdc9d447e21d6b634d425e7e0161670aaafda9.tar.gz
Added a comment
Diffstat (limited to 'doc/forum/download_links_for_attachments')
-rw-r--r--doc/forum/download_links_for_attachments/comment_4_7612923064284646c2ed59e2cd52845d._comment34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/forum/download_links_for_attachments/comment_4_7612923064284646c2ed59e2cd52845d._comment b/doc/forum/download_links_for_attachments/comment_4_7612923064284646c2ed59e2cd52845d._comment
new file mode 100644
index 000000000..eb6593868
--- /dev/null
+++ b/doc/forum/download_links_for_attachments/comment_4_7612923064284646c2ed59e2cd52845d._comment
@@ -0,0 +1,34 @@
+[[!comment format=mdwn
+ username="http://smcv.pseudorandom.co.uk/"
+ nickname="smcv"
+ subject="comment 4"
+ date="2013-10-18T16:56:09Z"
+ content="""
+> \[[setup.txt]] - opens the plain text in the same browser window
+
+That's the browser's choice: the web server says \"this is text/plain\"
+and the browser decides to display it in the window. IkiWiki doesn't
+actually serve the file, just provides a link to it; to force it
+to be downloaded rather than opened, you'd have to configure
+your web server to offer it as \"Content-Disposition: attachment\"
+(e.g. <http://www.jtricks.com/bits/content_disposition.html>).
+
+The only way IkiWiki could get involved in this would be to
+have the file download go via the CGI script, which could
+add that header. That isn't currently a feature it has;
+you could maybe add a plugin if you need this?
+
+> \[[settings.xml]] - opens the formatted xml as html
+
+Again, this is between the web server and the browser.
+
+> \[[.gitignore]] - it does not recognise this file
+
+IkiWiki excludes files related to the source code control systems
+it uses, in order to avoid accidentally publishing a `.gitignore`
+that's intended to control ignored files for the git repo
+containing the pages' source. This is controlled by the
+`wiki_file_prune_regexps`, `exclude` and `include` config options.
+You can put `.gitignore` in `include` if you need to publish
+files with that name.
+"""]]