Re: [users@httpd] apache 2.4.29 ubuntu 18.04 VirtualHost ssl redirect not working?

2019-08-14 Thread @lbutlr
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

Re: [users@httpd] apache 2.4.29 ubuntu 18.04 VirtualHost ssl redirect not working?

2019-08-13 Thread gene me
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"

Re: [users@httpd] apache 2.4.29 ubuntu 18.04 VirtualHost ssl redirect not working?

2019-08-13 Thread Frank
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

[users@httpd] apache 2.4.29 ubuntu 18.04 VirtualHost ssl redirect not working?

2019-08-07 Thread me
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