[Ilugc] Interview questions for linux administrator

  • From: rajasuperman@xxxxxxxxx (Raja Subramanian)
  • Date: Mon Jan 18 12:19:04 2010

On Mon, Jan 18, 2010 at 11:27 AM, Kenneth Gonsalves
<lawgon@xxxxxxxxxxxxxxx> wrote:

AFAIK you do dont need a dedicated IP address - I have successfully mixed http
and https on one apache - the only difference is that the http listens on 80
and the https listens on 443 (btw, I would have failed the interview)

What you describing is different from the issue being discussed. This
query is specific to hosting *multiple* HTTPS sites using vhosts.

It's a chicken/egg issue -- apache needs to read the HTTP headers
to figure out which vhost SSL cert it should use, but since the HTTP
request itself is SSL encrypted apache cannot read the headers
without the SSL cert.

Only work around is to use different IP/port numbers so this problem
can be resolved.  All shared hosting providers therefore require you
to purchase a dedicated IP address if you want HTTPS.

- Raja

Other related posts: