[BlueOnyx:10559] Re: Sites with blank host

Stephanie Sullivan ses at aviaweb.com
Sun May 13 22:06:25 -05 2012


Michael,

The sitexx.include is included within the site's vhost container. You can
put a vhost inside a vhost. Oops. I like the sitexx include files, but they
are a no-go here.

	Thanks
		-Stephanie

> -----Original Message-----
> From: Michael Stauber [mailto:mstauber at blueonyx.it]
> Sent: Sunday, May 13, 2012 4:06 PM
> To: BlueOnyx General Mailing List
> Subject: [BlueOnyx:10557] Re: Sites with blank host
> 
> Hi Stephanie,
> 
> > The center of my point is the SSL didn't work correctly UNLESS the
> sitename
> > was foo.com. When I tried using foo.com as an alias of www.foo.com
> there
> > were logs that pointed out the problem:
> >
> > [Mon May 07 14:13:55 2012] [warn] RSA server certificate CommonName
> (CN)
> > `foo.com' does NOT match server name!?
> >
> > Soon as I changed the site name in the sitexx file to foo.com and
> the alias
> > to www.foo.com everything worked fine again.
> 
> Hmm. OK. What about this: Name the site www.foo.com. Then duplicate
> the entire
> virtual host container (start to finish) from the siteX file and copy
> it into
> siteX.include as foo.com
> 
> No aliasses. Then use .htaccess to do the redirect from www.foo.com
> to
> foo.com?
> 
> Not sure if that works, though.
> 
> > That plus the fact I had to manually create a ssl cert seems a good
> reason
> > to allow site creation without a host. What do you think it would
> break if
> > we took the host requirement away? Maybe there is the assumption
> the host
> > isn't null throughout the code? Maybe it would be a huge PITA to
> make
> > hostless sites possible. I don't know. I do know I come across
> sites more
> > that don't have a www. Or other host in front of them.
> 
> Yeah, hostless Vsites are a pita. Too many places to hack work around
> into:
> 
> base-vsite
> base-subdomains
> base-user
> base-sitestats
> base-maillist
> 
> And probably some that I forgot about. It's too deeply rooted into
> the system
> that a Vsite must have a hostname.
> 
> --
> With best regards
> 
> Michael Stauber
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list