The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: ssl virtual host example configuration  (Read 2719 times)

Francesco

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
ssl virtual host example configuration
« on: February 21, 2016, 01:48:07 PM »

Hi all,
this is my (may be dumb) problem:

Windows server 2012 R2
httpd-2.4.18-x64-vc11-r2

document root ok
hosts ok  (including serverone.tld and servertwo.tld)
moved 80 to 81 due to MSSQL reporting services

request http://localhost  OK
request https://localhost  OK
request https://serverone.tld  ERROR 502
request https://servertwo.tld  ERROR 502

What's wrong?

here is httpd -S


[Sun Feb 21 13:40:13.417354 2016] [core:trace3] [pid 5156:tid 20] core.c(3134): Setting LogLevel for all modules to trace8
VirtualHost configuration:
*:443                  is a NameVirtualHost
         default server serverone.tld (P:/system/apache24/conf/extra/httpd-ahssl.conf:136)
         port 443 namevhost serverone.tld (P:/system/apache24/conf/extra/httpd-ahssl.conf:136)
         port 443 namevhost servertwo.tld (P:/system/apache24/conf/extra/httpd-ahssl.conf:151)
ServerRoot: "P:/system/apache24"
Main DocumentRoot: "P:/system/apache24/htdocs"
Main ErrorLog: "P:/system/apache24/logs/error.log"
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="P:/system/apache24/logs/" mechanism=default
PidFile: "P:/system/apache24/logs/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: SRVROOT=p:/system/apache24

trace8 to try to see everything.

It is correct that I cannot see in access_log and ssl_request log the bad requests? (TBD why bad).

Thank you in advance.
Francesco
« Last Edit: January 15, 2018, 11:40:20 PM by mario »
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 843
Re: ssl virtual host example configuration
« Reply #1 on: February 23, 2016, 06:23:46 PM »

502 is gateway timeout which is odd.

You said you moved 80 to 81, which if you moved the port from 80 to 81 wouldn't the URL then have to be
http://localhost:81?

you say hosts ok including serverone & servertwo, are you speaking of the windows hosts file?
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13