RE: Enabling HTTP and HTTPs

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

 



Right. I have two Listen directives

Listen 80  http
Listen 443 https

The page I would assume that the page I get is generated by the mod_ssl module. It looks something like this:

--------------------------------------------------------------------
Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

  Hint: https://myserver/
---------------------------------------------------------------------
-Jorge

-----Original Message-----
From: André Warnier [mailto:aw@xxxxxxxxxx] 
Sent: Monday, October 26, 2009 3:03 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Enabling HTTP and HTTPs

Hi Jorge.

Something below does not seem to square :

Jorge Medina wrote:
...
> At that point, I disabled HTTP on the server. Any request on port 80 gets a page indicating that HTTPS is required.
> 
How do they actually get this page, if HTTP is disabled ?

Maybe to gain some steps :
- the default port for HTTP is 80
- the default port for HTTPS is 443
So your server config, somewhere, should have Listen 80 Listen 443

If you do not have a "Listen 80", and someone tries to access your server with a URL like "http://yourserver";, they would just get a "connection refused", but not a HTML page telling them that they need HTTPS.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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