Dave G wanted to install Lyceum as a subdirectory of his website, AND use subdomain style blog URLs. He came up with a simple and effective solution and blogged all about it. Thanks Dave for sharing your experiences with us!
IMPORTANT: the need for installing Lyceum like this is very rare. It is not something we test or support (or have even tried ourselves) and is not the recommended way to install Lyceum.
7 Comments so far
Leave a comment
I followed his instructions closely, but still have problems.
I installed to /lyceum and had my host (also A Small Orange) enable this as the effective root. I also moved the lyceum directory up from /src as he suggested and did the 777 jiggerypokery. I have wildcard subdomains. My config file contains…
define(’WEBROOT’, ‘/lyceum’);
define(’MAINDOMAIN’, ‘blogwales.com’);
define(’SUBDOMAINS’, true);
and
define(’PRIVATE_REL_PATH’, ‘./’);
… and I followed his example with the .htaccess file.
I ran install.php and that worked okay, set myself up with an account. But my main page, http://www.blogwales.com, or http://www.blogwales.com/login.php (as pointed to by the install confirmation) displays only: “This blog does not exist or has been deactivated.”
And the system admin page (http://www.blogwales.com/system-admin/settings.php) (also pointed to from install confirmation) redirects to http://blogwales.com/lyceum/portal.php and displays: “The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies.”
Any help please? The IRC channel is sleeping, I subscribed to lyceum-users but my message hasn’t yet appeared, and I don’t know what to do.
By Rob on 08.04.06 9:12 am | Permalink
I have to politely disagree with the assertion that the need to install Lyceum (or any other product, for that matter)in a subdirectory/subdomain is “rare”. For example, I use Joomla and Website Baker for my projects, and in order to interface the CMS with other external apps, installation of standalone products in a subdirectory is pretty common (if not an outright necessity).
Files management is another consideration, especially in the case where you have another app (i.e., the CMS) acting as the “root” or main site application. It just makes things neater and easier to handle all around if applications are in nice, neat folders where you can find everything.
Just my two cents - adjusted of course for inflation. ;-)
By Carol on 08.08.06 2:00 pm | Permalink
Carol- It is rare to install Lyceum in a subdirectory AND use subdomains.
By John on 08.09.06 3:13 am | Permalink
I have yet to test Lyceum…
But I find the whole idea amazing. Thanks to the team.
By Katz on 08.09.06 4:36 am | Permalink
Rob: It sounds like you’re having problems with .htaccess. Particularly with the error on accessing the “www.blogwales.com”. Did you make the .htaccess changes to the root .htaccess?
By DaveG on 08.11.06 10:53 am | Permalink
Perhaps I should have made it clear that I was specifically addressing the subdirectory part. Having to do both subdirectories AND subdomains is not very common in general. Sorry I didn’t point that out better.
By Carol on 08.11.06 4:31 pm | Permalink
I have the same problems as Rob! Rob did you manage to do it? It’s not very easy to install lyceum with subdomains, I didn’t manage to do it. There is a bug because the links pointed to /login but you have to put /lyceum/login for example…
By shirou on 09.05.06 3:08 am | Permalink
HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>