|
Revision 7027, 1.1 kB
(checked in by david, 6 years ago)
|
quota patch (see lib/README.quota), integrated attachment hosts patch (lib/README.attachmenthost), multilang fixes
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
Copyright (C) 2003 David Schmitter, Dataflow Solutions GmbH <schmitt@dataflow.ch> |
|---|
| 2 |
|
|---|
| 3 |
Automatic attachment hosts |
|---|
| 4 |
************************** |
|---|
| 5 |
|
|---|
| 6 |
Emulates Aegir-like attachment hosts. |
|---|
| 7 |
|
|---|
| 8 |
Installation |
|---|
| 9 |
------------ |
|---|
| 10 |
Included in libmidgard. |
|---|
| 11 |
|
|---|
| 12 |
Configuration |
|---|
| 13 |
------------- |
|---|
| 14 |
The following apache configuration directives are recognized: |
|---|
| 15 |
|
|---|
| 16 |
MidgardAttachmentHosts (On|Off) default: Off |
|---|
| 17 |
MidgardAttachmentHostPrefix <prefix> default: serveattachment |
|---|
| 18 |
|
|---|
| 19 |
If MidgardAttachmentHosts is On, you can read the current MidgardAttachmentHostPrefix in $midgard->ah_prefix. |
|---|
| 20 |
|
|---|
| 21 |
URLs |
|---|
| 22 |
---- |
|---|
| 23 |
|
|---|
| 24 |
Every attachment is accessible by |
|---|
| 25 |
|
|---|
| 26 |
http://host/prefix/serveattachment/attachment-guid |
|---|
| 27 |
|
|---|
| 28 |
where host and prefix are from any host record belonging to the same sitegroup as the attachment |
|---|
| 29 |
"serveattachment" is a magic string that can be changed (see configuration) |
|---|
| 30 |
attachment-guid is the guid of an attachment you want to download |
|---|
| 31 |
|
|---|
| 32 |
Also supports the following variations: |
|---|
| 33 |
|
|---|
| 34 |
http://host/prefix/serveattachment/attachment-guid/image.jpg |
|---|
| 35 |
where image.jpg can be anything |
|---|
| 36 |
|
|---|
| 37 |
http://host/prefix/serveattachment/anything/attachment-guid |
|---|
| 38 |
http://host/prefix/serveattachment/anything/attachment-guid/image.jpg |
|---|
| 39 |
(this is Nadmin / Aegir syntax) |
|---|
| 40 |
|
|---|