To casify Wordpress mu, andrejciho provides a great solution to this making use of phpCAS 0.5.0.
Here are the instructions listed in his page, mainly:
- Adding the phpCAS as a plugin to Wordpress
- Customize the login / logout logic to use CAS Authentication
- Change the Welcome message and email
These are done very well by walking through the instructions below:
http://www.andrejciho.com/wordpress-mu/wpmu-cas-integration/
Error 404 on adding user
The login logic succeeds, but I faced another problem when I allowed user to register for a blog. For example, a new user with blog should have the link: http://localhost.localdomain/blog/<user>
I cannot view this link and a 404 error appears, after goggling, I found that the problem goes to the Apache configuration. It is because most Apache setting blocks the access by default. In another words, we just need to add a directive to Apache httpd.conf stating that accessing your blog folder should be allowed by doing something like this:
<Directory “D:\html\wpmu”>
AllowOverride All
</Directory>
Change the directory to something like “/var/www/html/wpmu”, if you are using a linux platform.
This will allow the free access to the folder you put your Wordpress source codes.
http://mu.wordpress.org/forums/topic.php?id=2556&page&replies=4#post-18069
Further Actions
Besides these, what I would like to modify further includes:
- Modify the activation logic so that no confirmation is needed.
- Create a theme by myself.









No comments
Comments feed for this article
Trackback link
http://blog.planner4u.org/blog/2007/11/30/wpmu-cas-integration/trackback/