Alternate Installation
From The Lyceum Wiki
Note: This is an unofficial page.
I've got to say that installing Lyceum wasn't easy. Far from the 5-minute WordPress install.
First of all, Lyceum refuses to install because it thinks my database is not empty.
Anyways, what I wanted to do was:
- manually create subdomains: a.mydomain.com, b.mydomain.com, etc. (not using wildcards e.g. *.blogs.mydomain.com)
- mydomain.com and www.mydomain.com is completely separate from the lyceum sites (therefore the webroot files are somewhere but not in the main site's webroot)
- all lyceum files are located centrally in a directory, e.g. /home/me/lyceum
It turns out that this (I'd say pretty typical) setup is very hard to get working in Lyceum.
Note: In the following description, 'webroot' refers to the 'htdocs' directory, or 'public_html' directory on your web server.
Here's what I did:
Contents |
Not-working methods
Method 1
- Symlink webroot to /lyceum/src/lyceum
- Put lib, installation, config into lyceum
- Update private.php to reflect change
- In wp-config.php : WEBROOT =>
Result: Only portal.php can be opened, other pages simply redirect to portal.php for no reason (?)
Method 2
- Symlink webroot to /lyceum/src
- In wp-config.php : WEBROOT => '/lyceum'
Result: Front-page works, but clicking on any link doesn't work, since they refer to e.g. '/about' not '/lyceum/about'.
Method 3
- Symlink webroot to /lyceum/src
- In wp-config.php : WEBROOT => '/'
- Symlink webroot/index.php to point to /lyceum/src/lyceum/index.php
Result: Doesn't work, requires .htaccess in /lyceum/src/lyceum to work properly.
Method 4
- Symlink webroot to /lyceum/src
- In wp-config.php : WEBROOT => '/'
- Symlink webroot/index.php to point to /lyceum/src/lyceum/index.php
- Symlink webroot/.htaccess to point to /lyceum/src/lyceum/.htaccess
Result: Several stuff works, but navigating to /admin doesn't work and returns a 404 error. (amazingly: the template/layout/theme works even with a 404 error!)
Currently working (not very tested though)
- Symlink webroot to /lyceum/src/lyceum
- Put lib, installation, config into lyceum
- Update private.php to reflect change
- Create symlink /lyceum/src/lyceum/lyceum which points to /lyceum/src/lyceum (I know this is stupid)
- Configure wp-config.php : WEBROOT => '/lyceum'
Conclusion
Making Lyceum work is maybe as difficult as installing Trac on Windows. But when it works, WOW!!! Lyceum ROCKS!!
I hope this sheds some light to others. Contact me at gauldong [at] gmail [dot] com if you'd like to.
--Ceefour 05:46, 9 October 2006 (EDT)
