Force https or SSL with .htaccess

Using Coda Smultron or an application that allows you to view save and edit invisible files. Create a file called .htaccess at the root level of the website. With the following content: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://[domain-name]/$1 [R L] *Double-check that Allow Overrides is selected for the site in Server Admin to allow .htaccess files to work.

2019-10-25T20:54:22-04:00March 29th, 2010|Quick Tips|

Mozy Tips & Tricks for Mac

Backup hidden/invisible files and folders Type the following in Terminal to show the hidden folders in the Mozy or MozyPro application for selection: defaults write com.mozy.Config "BDSShowHiddenFilesKey" -bool YES or defaults write com.mozypro.Config "BDSShowHiddenFilesKey" -bool YES

2019-10-25T20:55:07-04:00March 9th, 2010|Quick Tips|

Mail Service in Mac Server 10.6 rejects emails with blank subject lines

One of our techs ran across this problem and someone posted a fix in Apple's Support Forums. Here's the Support Forum page In case the link changes/goes down here's the salient portion of the suggested fix: Turns out that SL rejects empty subject lines by default. In order to make it play nice I stopped the mail service headed over to:/etc/postfix/custom_header_checksand turned: /^subject: *$/ REJECT empty subject header in /etc/into:#/^subject: *$/ REJECT empty subject header [...]

2019-10-25T20:57:30-04:00March 3rd, 2010|Quick Tips|

VPN on Mac Server 10.6: Disable MobileMe Back-to-my-Mac to permit VPN access to server network

Recently I was playing with SL Server and wanted to enable VPN just to gain the experience. I was using a Mac at my house as the server and although I'd configured the SL Server firewall to open the correct ports for VPN and I had forwarded the correct ports from my server to the router I still couldn't authenticate or connect to the server from a remote location. After some hair-pulling and some frustrated [...]

2019-10-25T20:56:32-04:00March 3rd, 2010|Quick Tips|

HTTP Proxy on Mac

Download/install the latest version of Firefox for Mac. Open Terminal and paste in this command and hit Return: ssh macworks@[server.domain.com] -D 2001 When Terminal asks for a password enter: [server-password] (Terminal doesn't show characters as you type. just type the password and hit Return) Terminal should show a new line beginning with: [server]:/ [user]$. if you see this you can close Terminal. Launch Firefox and open Firefox Preferences Navigate Firefox preferences to Advanced > Network [...]

2019-10-25T21:01:53-04:00March 2nd, 2010|Quick Tips|

Daylite and Blackberry Sync

To troubleshoot any sort of sync failure between Daylite and Blackberry... Backup Daylite db iCal and Address Book Check for any other programs that may be talking to the local SyncServices database like MobileMe. Consider these programs before taking any actions. Quit Daylite iCal/Address Book and Blackberry Desktop Manager Launch iSync go to iSync Preferences click Reset Sync History. wait for button to go grey and then come back to black. close iSync. Launch Daylite [...]

2019-10-25T21:04:05-04:00February 23rd, 2010|Quick Tips|

Configure Exchange Calendar Delegations

These instructions are specific to 123together hosted Exchange 2007 and may or may not be helpful for other Exchange environments. To set permissions for an Exchange user's Inbox Contacts or Calendar to be shared with another Exchange user... right click on the Inbox Contacts or Calendar folder to be shared and select Sharing click Add User search for the user you want to share with select from the search results and click Advanced enter Domain: [...]

2019-10-25T21:05:28-04:00February 22nd, 2010|Quick Tips|

Mac Server 10.6 – Email slow receiving tip

It seems that greylisting is turned on by default in Snow Leopard server which causes inbound e-mails to hang in limbo. I found a web page with the fix:If you wish to turn it off you can disable anti-spam measures in Server Admin. To specifically only stop Greylisting do the following: Edit /etc/postfix/main.cf and change: smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_policy_service unix:private/policy permit to smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination permit Basically delete check_policy_service unix:private/policyWhen done [...]

2019-10-25T21:14:27-04:00February 17th, 2010|Quick Tips|

Mac OS X Server 10.6 – Address Book Server

Setting up Shared Addresses (10.6 Server & Client Only) Method 1 - Group Address Book Server Setup: Open WorkGroup Manager click View and select Show System Records. Change to the Local Directory click Groups and click Add. Change it to LDAP Directory and drag group it into the "AB Read-Write Groups" group and Save. Restart Address Book service in Server Admin. Client Setup: Open Address Book > Preferences > Accounts and click Add. Enter user [...]

2019-10-25T21:13:38-04:00February 17th, 2010|Quick Tips|

Mac OS X Server – Web Server & MySQL Fixes

PHP.ini Additions upload_max_filesize = 20M upload_post_filesize = 20M allow_url_include = On magic_quotes_gpc = On PHP Errors - Date/Timezone Setting Server-wide: Change the following in etc/php.ini [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = America/Denver Site by Site: Add the following to .htaccess php_value date.timezone America/Denver PHP Errors - eregi() is deprecated Fix here: http://devthought.com/tumble/2009/06/fix-ereg-is-deprecated-errors-in-php-53/ Basically replacing with preg_match or preg_replace and using extra delimiters. Install [...]

2019-10-25T21:17:03-04:00February 15th, 2010|Quick Tips|