Individual Movable Type instances

From ETS

Revision as of 14:54, 29 May 2008 by Bak147 (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to:navigation, search

return to blogs@psu

Contents

The Idea

Version 1

In order to give users more flexibility in managing their blog space as well as more options with protecting content (see blogs and protected space), a new scheme was was developed for the implementation of Movable Type at PSU. It would consist of each user getting two instances of movable type which they can have complete control over. When a user would login at blogs.psu.edu, they would be directed to a URL for their own instance of MT. The URL would contain the user's ID, like blogs.psu.edu/xyz123/mt.cgi. There would also be a link added to the MT interface that would lead users to their protected blogs, which will live in a different version of MT located at a URL something like blogs.psu.edu/protected/xyz123/mt.cgi. Only one copy of the application files would exist on disk, and all the various urls would run this one copy of the code. This effect could be achieved with symlinks or perhaps some form of apache trickery.

MT would use a different DB for each instance. MT will know which DB to use based on the URL used to access to application. This effect should be easy to achieve since mt-config.cgi is perl code. We may start using sqlLite for the DB, stored in a user's PASS space. For many small DB's, this may be more efficient than setting up many mysql databases.

The instance of MT that publishes to a user's protected space will also have to be protected by the web server. Possibly it will read info from an .htaccess file in the protected webspace?

Version 2

Actually install MT into a user's personal space, and allow them to manage it. This work similarly to typical web hosting setups such as dreamhost. This route seems less like a hack, more maintainable over time, and the methods used here can transfer to offering other web-based software to students, faculty and staff. One other advantage of this idea over version 1 is that a user can create multiple instances of MT for different private blogs in the protected space.

The Benefits

The Drawbacks

Unresolved Issues

Issues that this setup would not address

Navigation
Toolbox