WPMU CAS Integration

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:

  1. Adding the phpCAS as a plugin to Wordpress
  2. Customize the login / logout logic to use CAS Authentication
  3. 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:

  1. Modify the activation logic so that no confirmation is needed.
  2. Create a theme by myself.
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • Technorati
  • YahooMyWeb

 

November 2007
S M T W T F S
« Oct   Dec »
 123
45678910
11121314151617
18192021222324
252627282930  

Categories