You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Jul 29, 2012 7:36 PM

Reply

There are no replies.

ML: force login to wiki server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.