[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Configuring redirects from http to https

The (111) is a networking issue because you're not matching the trailing slashes with your redirects.

On Thu, Nov 29, 2018 at 6:06 PM Jonathon Koyle <litereader@xxxxxxxxx> wrote:
Can you reproduce the issue and provide some logs, and maybe more information about the actual response?  the 1xx range isn't supposed to be an error code in HTTP.

On Thu, Nov 29, 2018 at 3:25 PM Jack M. Nilles <jnilles@xxxxxxxx> wrote:
I have the following configuration file covering two virtual hosts:

# http redirect
<VirtualHost aaa.bbb.ccc.ddd:80>
 ServerAlias * 
   Redirect "/" ""

<Virtualhost *:80>
 ServerAlias *
   Redirect /

# https versions
<VirtualHost aaa.bbb.ccc.ddd:443>
  ServerAdmin . . .
  ServerAlias . . .
. . .

The https parts work well but if people try to get or they get connection (111) errors indicating that the redirects aren't working. I've tried different versions of the redirects -- with and without double quotes -- and it doesn't seem to make a difference.

How to I get the redirects to function?

Jonathon Koyle