Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Redirecting HTTP to HTTPS on OS X 10.6 Server Snow Leopard

March 2, 2011 4 Comments

You should be able to redirect HTTP to HTTPS using Server Admin and the Aliases and Redirect options in the Web Service for the site in question, have your initial web site set up to share over Port 80, duplicate it using the duplicate option, on the duplicate option switch the port number to 443 by checking the “Enable SSL” in the security tab then delete the word “copy from the domain. Restart the service.

Click the site on Port 80, go to the Aliases tab, click on the plus tab of  “Aliases and Redirects” – add in a Redirect with a pattern of / to https://server.test.com

add a redirect to HTTPS

add a redirect to HTTPS

This will then add in the redirect for anything that hits the Port 80 regular HTTP and force it over to HTTPS.

shows the redirect in place

shows the redirect in place

 

Sometimes the redirect tools don’t always work and you may need to edit the apache site config file to force a HTTP connection to HTTPS.

Same initial procedure applies, in server admin have your initial web site set up to share over Port 80, duplicate it using the duplicate option below. On the duplicate option switch the port number to 443 by checking the “Enable SSL” in the security tab then delete the word “copy from the domain. Restart the service.

 

http-redirection-osx-server

Server Admin configuration

Then in your favourite text editor via command line or GUI (I like Text Wrangler) with admin access, edit the HTTP sites configuration file, filed on Snow Leopard Server at:

/etc/apache2/sites

0001_192.168.0.102_80_server.test.com.conf – (your equivalent 🙂

and add in anywhere between the Virtual Host tag:

RedirectPermanent / https://test.com/

Should be good to go !!

 

Cats: macOS, WebRoot Tags: apache, http, https, leopard, OSX, redirect, snow

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Musi says evidence shows Apple conspired with music industry on App Store ban
  • Trump threatens Apple with 25% tariff to force iPhone manufacturing into US
  • I helped a lost dog’s AirTag ping its owner: An ode to replaceable batteries
  • Apple legend Jony Ive takes control of OpenAI’s design future
  • Epic goes to court to force Fortnite back on US iOS

RSS mac surfer

  • Tot is new text editor for Mac, iPhone, and iPad focused on constraints and ease of use
  • TiPbITS: Google Drive Sorting Can Hide New Documents
  • How to take a screenshot on a MacBook Pro
  • How To Create Simple Animation With Mac Keynote
  • Last Week on My Mac: Virus pandemics

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in