where to install multiple blog-per-subdomain s9y instance?

Having trouble installing serendipity?
Post Reply
snowcrash+s9y
Regular
Posts: 6
Joined: Tue Feb 27, 2007 7:56 pm

where to install multiple blog-per-subdomain s9y instance?

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: where to install multiple blog-per-subdomain s9y instanc

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
snowcrash+s9y
Regular
Posts: 6
Joined: Tue Feb 27, 2007 7:56 pm

Re: where to install multiple blog-per-subdomain s9y instanc

Post 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.
Post Reply