Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4 Server: Enable the Blojsom Admin Console OS X Server
OS X Server's Weblog/Podcasting Server (based on Blojsom) is pretty darn cool, but it seems like one should be able to do a lot more from the Admin perspective with one's blog. (For example, deleting a blog category that you previously created). Currently, it appears there is no way to do this -- but there is. It is called the Blojsom Administration Console, and Apple disables it by default, but you can enable it for any blog (on a blog-by-blog basis). Here's how...

To turn on (enable) the Blojsom Administration Console, you just need to uncomment a line in a configuration text file, and then restart Blojsom. First navigate into the proper directory (all of the following is in Terminal):
$ cd /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/username
Replace username with the user's short username. Then open flavor.properties (as root) with your favorite Terminal editor:
$ sudo vi flavor.properties
Once you have it open, remove the hash mark (#) from the front of this line:
#admin=org/blojsom/plugin/admin/templates/admin.vm, text/html;charset=UTF-8
Save changes to the flavor.properties document, and quit the editor.

Restart Blojsom in one of the following ways:
  • Using Server Admin, under the Web service (Settings), uncheck the Weblogs box and Save. Then re-check the Weblogs box and Save.

  • From the command line enter:
    $ sudo service com.apple.blojsom stop 
    $ sudo service com.apple.blojsom start 
    
Now if you go to this URL...
http://www.yourserver.com/weblog/username/?flavor=admin
...you will see the Blojsom Admin Console. You will not need to login if you have previously logged into your Weblog (for example, to Add Item). If you see the login screen, then log in!

Under the CATEGORIES tab you will see "Delete an existing blog category." I found one menu item that generated a Tomcat error, but it looks like there are other useful things that you can do here, such as add other users as authors for a blog, etc. Note that the Blojsom Admin Console would have to be enabled on a blog-by-blog basis.

I asked a Blojsom developer at Apple about any negative aspects to enabling the Administration Console and he replied:
There's no particular reason not to enable the Blojsom admin console, although you'll probably find that some functionality doesn't work. We disabled it by default because we don't want to support it.
It may also be worth noting that OS X Server 10.4.6 upgrades Blojsom to version 2.25.
    •    
  • Currently 2.11 / 5
  You rated: 3 / 5 (9 votes cast)
 
[14,127 views]  

10.4 Server: Enable the Blojsom Admin Console | 1 comments | Create New Account
Click here to return to the '10.4 Server: Enable the Blojsom Admin Console' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4 Server: Enable the Blojsom Admin Console
Authored by: Marc Wolfgram on Mar 28, '07 09:16:02PM

Thank you... I'm running a test server and in a spare moment enabled the weblog a month or two back. After ignoring it for two weeks, I just discovered that the bad guys added 55 comments and over 800 trackbacks to my oldest entry.

Your info got me past Apple's insipid default settings so I could spend a glorious hour mopping up the mess.

Best wishes,
-- Marc



[ Reply to This | # ]