Find the answer to your Linux question:
Results 1 to 3 of 3
I host multiple websites from my computer on a single IP address. I use SNI with Mod_SSL. I am afraid of someone with a non-SNI browser coming along, entering my ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned
    Join Date
    Aug 2011
    Posts
    43

    Specifying which server to parse by default in Apache


    I host multiple websites from my computer on a single IP address. I use SNI with Mod_SSL.

    I am afraid of someone with a non-SNI browser coming along, entering my IP address and then Apache serving a website I did not intend them to see via that route.
    How can I make it so Apache/Mod_SSL will parse a specific website by default to a client that does not have SNI-capability? Would it be done by:

    <VirtualHost _default_:80>
    </VirtualHost>
    <VirtualHost _default_:443>
    </VirtualHost>

    ?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,345
    I *believe* it will default to the first virtual host definition.
    As you have the setup already, just try it?
    Some old browser version should be possible to get.
    You must always face the curtain with a bow.

  3. #3
    Banned
    Join Date
    Aug 2011
    Posts
    43
    Yeah I just did. Sick!! Thats how its done. I haven't tested it, but NSI notices have vanished from error.log.

    Solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •