ML: force login to wiki server
Given the example for Lion: https://discussions.apple.com/thread/3620714?start=0&tstart=0
This is the equivalent patch for OS X Server for Mountain Lion (10.8).
1.Edit the controller for the wiki
nano /Applications/Server.app/Contents/ServerRoot/usr/share/collabd/coreclient/app/c ontrollers/application_controller.rb
2. find the block
helper_method :service_client, :current_user, :current_version, :page_context, :use_inline_webauth, :javascript_includes_for_locale
helper_method :webcal_enabled?, :webmail_enabled?, :entityURL, :iphone, :ipod, :ipad
before_filter :master_before_filter, :block_older_internet_explorer
after_filter :master_after_filter
3. Change to
helper_method :service_client, :current_user, :current_version, :page_context, :use_inline_webauth, :javascript_includes_for_locale
helper_method :webcal_enabled?, :webmail_enabled?, :entityURL, :iphone, :ipod, :ipad
before_filter :master_before_filter, :block_older_internet_explorer
before_filter :ensure_user_is_authenticated
after_filter :master_after_filter
4. Restart the wiki
sudo serveradmin stop wiki
sudo serveradmin start wiki
Mac mini, Mac OS X (10.7.2), Lion Server