Dr Fragen in the operating room

osx-server

  • WordPress, WebDAV and htaccess

    So I moved my WordPress install to my domain root and the WordPress specific htaccess instructions have borked my WebDAV. Fortunately a little googling and I鈥檝e got a solution. Since running a multisite install, my htaccess rewrites a lot. Turning off the RewriteEngine inside he WebDAV direcetory solves this issue. [code lang=shell] <IfModule mod_rewrite.c> RewriteEngine…

    Read More

  • chroot'd SFTP on Mac OS X server

    So here you are finding that you need to grant someone else SFTP access to your server. There are lots of reasons to do this, in my case it’s because I needed to grant access to someone’s web designer. We initially worked it out by him emailing me files and me SFTP’ing them up to…

    Read More

  • Squirrelmail Plugins

    Just an FYI post. I save all my added Squirrelmail plugins in /Users/Shared/squirrelmail_plugins/. Consequently if I need to reinstall any or all of them all I have to do is issue the following… [bash] sudo cp -R /Users/Shared/squirrelmail_plugins/PLUGIN_FOLDER /usr/share/squirrelmail/plugins sudo /usr/share/squirrelmail/config/conf.pl [/bash] Activate the plugins, save, quit and you’re good to go.

    Read More

  • Setting up WebDAV Share in Mac OS X Server

    As I attempt to transition from a laptop to an iPad, with no specific reason other than the iPad is sooooo kewl; I need to create my own online storage. Yes I have a Dropbox account, but I don’t control Dropbox. Here’s what I did, YMMV. From Server Admin, make new Web > Realm and…

    Read More

  • Updating DNS settings

    Just to document. I’ve updated the settings in /etc/named/named.ca by using the following command and then restarting DNS. sudo curl ftp://ftp.internic.net/domain/named.root -o /var/named/named.ca Not sure how often this should be done. I also added the following to /etc/named.conf to reduced the error logging. I got that tidbit from google groups logging { category lame-servers {…

    Read More

  • Fail2ban Problems and Solutions

    If you use Fail2ban then you are probably aware of the fact that you must add a rule number to the ipfw deny rule for actionban in ipfw.conf. If you don’t add a rule number then there is no way for fail2ban to delete the rule after it expires. The problem lies in that you…

    Read More