troubles getting ms-elgg to work in a shared hosting environment

20 views
Skip to first unread message

zilog

unread,
Sep 17, 2010, 12:50:51 PM9/17/10
to MP Multisite Elgg
Hello,

Thanks Marcus for publishing your project, I'm very excited about
giving it ago. Unfortunately I am having problems setting it up. I
have followed the instructions in this page step by step, except for
the wildcard domain thing. My installation lives in a shared hosting
env, so I do not have access to the httpd.conf file. I do not know if
this can be done from .htaccess though.

Everything works fine, I can get into the master domain as an admin,
create new elgg sites, etc. But the "install" link on each site takes
me nowehere, if I enter "subdomain.rootdomain.tld" as domain name for
the newly created elgg site, the link will point to whatever I enter
in that field. Which of course is a non-existing subdomain. If I go to
my hosting panel and create that subdomain, I cannot change the
docroot. So I am fairly stuck now.

Is there any URI based trickery that could show the right instance of
elgg depending on some cgi params? That way maybe I could do a poor-
man's subdomain handling at the .htaccess level of my root domain.

Accessing the docroot directly Elgg says:
Welcome to Elgg.
Elgg couldn't connect to the database using the given credentials.

Marcus Povey

unread,
Sep 20, 2010, 12:09:39 PM9/20/10
to MP Multisite Elgg
Hrrm...

Unfortunately the site selection is determined by the vhost the code
is being accessed on, and while this doesn't require a wildcard domain
(although this makes admin infinitely easier), it does require
appropriate vhosts to be configured in apache.

I'm not aware of any htaccess hacks for this, but I could be wrong...

Marcus
Reply all
Reply to author
Forward
0 new messages