-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Sonic wrote: | Hi! | | I set up midgard for multiple websites so that aegir is running on | www.host1.de/aegir while the different web sites run on www.host2.de, | www.host3.de and so on. It all works well, but I got one problem: When | editing pages/styles/whatever in aegir, it always complains that it can't | find the attachments (which has to do with the fact that the attachment dir | is on the respective host, I guess). For me, this is not a problem but I | guess the editors will complain if they have to layout pages without seeing | the images. Is there anything I can do to make images work both on the host | where aegir is runnig as well as on the one where the actual site is running.
Two ways to do this: 1) Create sitegroup specific Aegir host for each sitegroup. I.e. Create new Web site for each sitegroup and set it to use Aegir Master Style and Aegir CMS root page. Thus you'll have www.host2.de/aegir AND since you now have attachment host with the same host name (www.host2.de) images will show.
2) Create new attachment host for each sitegroup. So, again, create new Web site for each sitegroup but with the same hostname as the Aegir has (www.host1.de) and set it to use Empty style and Attachment host root page. NOTE: You'll need to give the prefix for the new host in format /attachment/SG_GUID (where SG_GUID is the 32-char monster ;)).
Both alternatives should work but the 1. has the benefit that your clients don't have to select the company from the pull-down list - the company cannot be changed!
At least our clients have been happy with their "own" Aegir installations. :)
| BTW: I don't know if this is important, but the different web sites are midcom | sites. The attachment dir was created in aegir when I uploaded some images | for the styles.
It might have. MidCOM has it's own attachment server. But I think in this case it shouldn't matter.
| Bye, and thanks again!
Cheers!
~ //Henri
| Andreas | | P.S.: Sorry if I keep flooding y'all with mails, but I think I'm (slowly) | learning to get along with Midgard :-) |
Hey, that's cool. At least you haven't given up on Midgard! :)
- -- Henri Kaukola [EMAIL PROTECTED] Consultant Tel: +358-20-198 6037 Nemein Oy http://www.nemein.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAVeoV3xWc2AolrKgRAvRCAKDfZ5HTG77fu3//y2efwVEalR551QCfSvx+ tM0eyitELNsf1LfFW5sJvtQ= =Reh+ -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
