Re: apache 2.4.29 ubuntu 18.04 VirtualHost ssl redirect not working?

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

 



Do you get a 302 or 301 with curl, since you mention a redirection?

On 07/08/19 07:23 PM, me wrote:
> target url: "http://www.cart.example.com/"; works fine.
> SSL target url: "https://www.cart.example.com/"; redirect to /var/www/html
> 
> However, "/var/www/html" is not a DocumentRoot for any virtual hosts.
> Output of "apachectl -S":
> VirtualHost configuration:
> *:443                  is a NameVirtualHost
>          default server example2.com
> (/etc/apache2/sites-enabled/000-default.conf:55)
>          port 443 namevhost example2.com
> (/etc/apache2/sites-enabled/000-default.conf:55)
>                  alias www.example2.com
>          port 443 namevhost ycart.com
> (/etc/apache2/sites-enabled/ycart.conf:55)
>                  alias cart.example.com
>                  alias www.cart.example.com
>          port 443 namevhost yh.com (/etc/apache2/sites-enabled/yh.conf:57)
>                  alias hice.example.com
>                  alias www.hice.example.com
>                  wild alias *.yh.com
> *:80                   is a NameVirtualHost
> ...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux