Page 1 of 1
where to install multiple blog-per-subdomain s9y instance?
Posted: Tue Feb 27, 2007 8:08 pm
by snowcrash+s9y
Code: Select all
hi,
i'm doing a 1st-time install of s9y.
i've a shared hosting acct (fwiw, @ goaddy.com),
http://mydomain.com
i've mapped multiple subdomains to subfolders, e.g.,
http://subdomain.mydomain.com -->
/full/ftp/path/to/host/account/subdomain
i've got apache redirects mappping
to http://subdomain.mydomain.com --> http://www.subdomain.com
so, nav to,
http://www.subdomain.com
exposes content in,
/full/ftp/path/to/host/account/subdomain
i'd like a single s9y install, with multiple blogs & content -- one per subdomain -- each available at,
http://www.subdomain.com/blog.
so, at this point, i've managed to confuse myself.
i think i need to configure s9y's "Autodetect used HTTP-Host" to make this work.
but, 1st, for the above scenario, which is the right DIR to install s9y in?
thanks!
Re: where to install multiple blog-per-subdomain s9y instanc
Posted: Wed Feb 28, 2007 9:05 am
by garvinhicking
Hi!
Actually, the "autodetect HTTP host" setting would only help you to make s9y run on different HTTP hosts, BUT it would always ever only show the same content for each blog. And I think that's not what you wanted.
What you do seem to want to do is to use the Serendipity "Shared Installation" Feature. With this you can install s9y one time into a central directory, and make sub-hosts only contain small files that point to the central directory. But each subhost is a completely independent s9y blog with its own database and its own content.
To use that, we normally use Apache VirtualHosts for that, but with your way you should also be able to use it. You must simply ensure that the PHP include_path contains a reference to your "main installed" serendipity directory.
More information on this topic is available on
www.s9y.org:
http://www.s9y.org/41.html
http://blog.s9y.org/archives/120-Shared ... tions.html
And also on this forum by searching for "shared installation".
HTH,
Garvin
Re: where to install multiple blog-per-subdomain s9y instanc
Posted: Thu Mar 01, 2007 2:48 am
by snowcrash+s9y
garvinhicking wrote:... What you do seem to want to do is to use the Serendipity "Shared Installation" Feature ...
thanks for the clarification, and the references.
reading, this seems like it should do the trick, eventually.
thanks.