On 13 Aug 19, at 10:48 , gene me wrote:
> Solution: My mistake was leaving "DocumentRoot" commented out. I thought the
> root specification in "80" section might suffice, but no. Once I fixed that -
> everything works. All correct pages are shown.
>
> I think at least a warning from Apache
No. Just 200
Solution: My mistake was leaving "DocumentRoot" commented out. I thought
the root specification in "80" section might suffice, but no. Once I
fixed that - everything works. All correct pages are shown.
I think at least a warning from Apache should be visible for "apachectl
-t"
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
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