You configured HTTP(80) on the standard HTTPS(443) port!
Posted by: HolyMoly (---.sitbs.at)
Date: April 14, 2023 09:47AM

Hi,

how to fix this warning?
ssl.conf
Listen ip.x.y.z:443

<VirtualHost ip.x.y.z:443>
ServerName www.domain.com
ServerAlias domain.com

SSLEngine on
SSLCertificateFile "path"
SSLCertificateKeyFile "path"
<Directory ...>
...

vhosts.conf
I have the same VH for :80, but without the SSL options.



Edited 1 time(s). Last edit at 04/14/2023 09:47AM by HolyMoly.

Options: ReplyQuote
Re: You configured HTTP(80) on the standard HTTPS(443) port!
Posted by: Otomatic (Moderator)
Date: April 14, 2023 11:34AM

Hi,

> how to fix this warning?
What warning?
You do not give any warning message!
What is the exact and complete message?

You've already had a discussion about this!
Refer to the thread [forum.wampserver.com]

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: You configured HTTP(80) on the standard HTTPS(443) port!
Posted by: HolyMoly (---.sitbs.at)
Date: April 14, 2023 12:09PM

Hey,

SSL is (*somehow magically*) working now, but I'm having other problems. I have problems with webhooks in Stripe Module for Prtestashop, and I think the problem is apache configuration, but I don't know for sure. I think it has to do with an redirect from HTTP to HTTPS or something with SSL in general, but I'm not sure. So I'm trying to clean all the warnings from the logs.

The warning was "You configured HTTP(80) on the standard HTTPS(443) port!"

By now I made it disappear by replacing the IPs in the VH with *. But I still don't know what I'm exactly doing.

Now I'm having stuff like
"AH01993: SSL output filter write failed."
"AH02007: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!]"

Everytime I try to solve things with guides from the internet, I find myself in new troubles - so I feel a little lost.
But I'll come back when I have more infos.

Options: ReplyQuote
Re: You configured HTTP(80) on the standard HTTPS(443) port!
Posted by: Otomatic (Moderator)
Date: April 14, 2023 01:52PM

Hi,

> The warning was "You configured HTTP(80) on the standard HTTPS(443) port!"

This is not a warning from Apache but from Prestashop and/or the Stripe Module for Prtestashop.
Apache does not detect a problem where Prestashop sees one! It is therefore Prestashop that should be asked the question of what this means.

> Listen ip.x.y.z:443
> <VirtualHost ip.x.y.z:443>

Why would you want to put an IP in the Listen and the VirtualHost?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: You configured HTTP(80) on the standard HTTPS(443) port!
Posted by: HolyMoly (---.sitbs.at)
Date: April 14, 2023 02:18PM

>This is not a warning from Apache but from Prestashop and/or the Stripe Module for Prtestashop.

Thank you for the info.

>Why would you want to put an IP in the Listen and the VirtualHost?

Because I read it here [serverfault.com] that apache needs the IP in the VH for SSL to work properly. So I tried.

Options: ReplyQuote
Re: You configured HTTP(80) on the standard HTTPS(443) port!
Posted by: webmasterinnj (---.cmdnnj.fios.verizon.net)
Date: April 14, 2023 02:35PM

you dont need to put in your ip address to use ssl.
i use ssl on my wampserver with no issues and i use an actual trusted ssl certificate using an app called "certifytheweb"
my advice to you is backup your important files and do a complete reinstall of wampserver and its a good thing to notice,your port 80 config is in your vhosts file.
your ssl port 443 config is your httpd-ssl file.

[djswebserver.ddnsgeek.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.