|
|
Regression Test
|
|
| t | [this feature is not documented yet] | t | |
| <p> | | |
| Uploaded files (sometimes also known as attachments) are kept in a single directory under the data directory: <data_dir>/files. | | |
| <p> | | |
| This is by convention. In the configuration, the location for | | |
| uploaded files can be kept anywhere in the host filesystem. But make | | |
| sure that the web server has write permissions to the directory, so | | |
| that files can be uploaded there. | | |
| <p> | | |
| To reference a file in this directory from a page, use the syntax: | | |
| [ [media:filename.ext]]. This will convert into the url | | |
| <a href="http://servername.com/files/filename.ext">http://servername.com/files/filename.ext</a> | | |
| <p> | | |
| Usually, a symlink is placed in the publish directory area, | | |
| so that the web server can find the files at the specified location. | | |
| <p> | | |
| e.g. /var/www/files would be a symlink to /path/to/data-dir/files | | |
| <p> | | |
| Then, the configuration is set so that 'files_url_base' specifies | | |
| the leading portion of the URL to use to access this symlink. | | |
| <p> | | |
| <h1><a name="Notes">Notes</a> | | |
| <span align=right class="section_edit_link">[<a href="/tbwiki/DocAttachments?action=edit§ion=Notes">edit section</a>]</font></span> | | |
| </h1> | | |
| <p> | | |
| This page should have information about uploaded files: | | |
| <p> | | |
| Here is the link syntax used for file attachments in WikiMedia: | | |
| <p> | | |
| [ [Media:file.ext]] | | |
| <p> | | |
| Legends |
| Colors |
| Added |
| Changed |
| Deleted |
|
| Links |
| (f)irst change |
| (n)ext change |
| (t)op |
|
|
|
| t | | No Differences Found | t | | No Differences Found |
| Legends |
| Colors |
| Added |
| Changed |
| Deleted |
|
| Links |
| (f)irst change |
| (n)ext change |
| (t)op |
|
Update saved output
Back to diff page
Return to Regression_Test page
|
|