Apache error with Xampp - apache

I installed XAMPP and had the UAC error when it was installed, so I installed it on a different drive, but now whenever I try to start Apache I get this error.
[Mon Aug 17 18:13:12.648796 2015] [ssl:warn] [pid 7380:tid 528] AH01909:
www.example.com:443:0 server certificate does NOT include an ID which
matches the server name
[Mon Aug 17 18:13:13.075852 2015] [ssl:warn] [pid 7380:tid 528] AH01909:
www.example.com:443:0 server certificate does NOT include an ID which
matches the server name
Don't know how to fix this at all

Quick fix:
Install VirtualBox + lightweight Linux, and then install LAMP server. Better than XAMPP.

Related

XAMMP Port:8080 SSL Issues - Only on Older version of XAMPP

I wonder if anyone can point me in the right direction.
Trying to host multiple websites locally, Problem with this is, there is multiple PHP versions due to them being outdated - I will fix this later.
For now, I am trying to get a second website running locally on an older version of XAMPP to match the PHP version of the website. The issue I am having is the common SSL redirect error - trying to visit the localhost/website redirects to HTTPS every time. So the website is not reachable at all.
I know you can use CGI Virtual host's for different version of PHP - That is my next avenue.
I have a version of XAMPP running 7.1 with a website and that works fine - so this version of xampp 5.4.6 I have changed to port: 8080, 444 .
Things I have tried that have not worked.
Installing SSL locally to PC
Redirect IP via Host file
Complete reinstall, re-download and re-configuration with and without SSL certs
Last line of the error logs when trying to access:
Is there no way to force this to not happen. Via website files - or could it be the Xampp version?
Error logs as follows: I see how it says the ID does not match, It does not change.
[Thu Mar 17 08:58:58.989357 2022] [core:warn] [pid 18316:tid 300] AH00098: pid file C:/xampp5/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Mar 17 08:58:59.101339 2022] [ssl:warn] [pid 18316:tid 300] AH01909: www.example.com:444:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 17 08:58:59.136882 2022] [mpm_winnt:notice] [pid 18316:tid 300] AH00455: Apache/2.4.38 (Win64) OpenSSL/1.0.2q PHP/5.6.40 configured -- resuming normal operations
[Thu Mar 17 08:58:59.136882 2022] [mpm_winnt:notice] [pid 18316:tid 300] AH00456: Apache Lounge VC11 Server built: Jan 21 2019 13:25:29
[Thu Mar 17 08:58:59.136882 2022] [core:notice] [pid 18316:tid 300] AH00094: Command line: 'c:\xampp5\apache\bin\httpd.exe -d C:/xampp5/apache'
[Thu Mar 17 08:58:59.156152 2022] [mpm_winnt:notice] [pid 18316:tid 300] AH00418: Parent: Created child process 13520
[Thu Mar 17 08:58:59.677736 2022] [ssl:warn] [pid 13520:tid 584] AH01909: www.example.com:444:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 17 08:58:59.851891 2022] [ssl:warn] [pid 13520:tid 584] AH01909: www.example.com:444:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 17 08:58:59.897765 2022] [mpm_winnt:notice] [pid 13520:tid 584] AH00354: Child: Starting 150 worker threads.

XAMPP showing errors after fresh Windows Installation

I had XAMPP installed in D:/ drive (HDD 500GB) while I had to do a fresh installation of windows 10 in C:/ Drive (SSD 128GB).
I didnot change anything in D:/ drive before or after installation of windows. yet When I open the XAMPP interface and start apache it shows following error log.
Apache Error Log
[Mon Nov 29 22:47:59.081101 2021] [ssl:warn] [pid 1388:tid 604] AH01909: www.example.com:443:0 enter code here enter code hereserver certificate does NOT include an ID which matches the server name
[Mon Nov 29 22:47:59.159264 2021] [core:warn] [pid 1388:tid 604] AH00098: pid file E:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Nov 29 22:47:59.163263 2021] [ssl:warn] [pid 1388:tid 604] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0
[Mon Nov 29 22:47:59.171261 2021] [:emerg] [pid 1388:tid 604] AH00020: Configuration Failed, exiting
Seems like the quickest solution is to do a fresh install of XAMPP.
It pretty easy to transfer the XAMPP htdocs folder which contains your lifetime of code, it just simply copy and paste the htdocs folder into a new install of XAMPP.
For your databases it's pretty simple also:
Copy all your self created databases folders that are located in xampp/mysql/data
Copy ibdata1 file located in in xampp/mysql/data
Paste your database folders and the ibdata1 file into the xampp/mysql/data on a new install of XAMPP
done !

Bitnami AH02042: rejecting client initiated renegotiation

Have a site on AWS Bitnami, received the following error in log last night:
[Tue Feb 21 11:44:24.550083 2017] [ssl:error] [pid 20151:tid 140224130492160] [client 208.93.152.93:41010] AH02042: rejecting client initiated renegotiation
Then get the following errors when trying to visit the site.
[Wed Feb 22 14:00:00.739407 2017] [mpm_event:notice] [pid 19875:tid 140224892598080] AH00491: caught SIGTERM, shutting down
[Wed Feb 22 14:00:04.737461 2017] [ssl:warn] [pid 31984:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 14:00:04.894490 2017] [ssl:warn] [pid 31985:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 14:00:05.036172 2017] [mpm_event:notice] [pid 31985:tid 140233098594112] AH00489: Apache/2.4.23 (Unix) OpenSSL/1.0.2h configured -- resuming normal operations
[Wed Feb 22 14:00:05.036313 2017] [core:notice] [pid 31985:tid 140233098594112] AH00094: Command line: '/opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf'
When visiting the site only receive this message 'Your application is not currently available'
Have not made any edits to the site since 1/5/17 no previous errors in the log on the site. Attempted restart, checked paths of SSL logs.
The warn messages you are obtaining:
[Wed Feb 22 14:00:04.737461 2017] [ssl:warn] [pid 31984:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Feb 22 14:00:04.894490 2017] [ssl:warn] [pid 31985:tid 140233098594112] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
You don't have to worry about them. It is related with the dummy certificate that Bitnami includes in its cloud images. You can find the whole information at https://docs.bitnami.com/aws/components/apache/#how-to-enable-https-support-with-ssl-certificates
I recommend you to take a deeper log to the Apache Log Files. You can share with us the log files:
/opt/bitnami/apache2/logs/error_log
/opt/bitnami/apache2/logs/access_log
There should be something there we are missing.

XAMPP Apache start failing after "magic_quotes_gpc=On"

Hey guys i got an problem by starting my apache.
I try to install xt-commerce on my local machine. Here i had to change the entry in xampp/php/php.ini
magic_quotes_gpc=Off -> On
Since then my apache won't start anymore.
my control panels seems like this
and the apache error log entries:
[Fri Apr 01 18:30:56.550683 2016] [ssl:warn] [pid 7476:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:05.089172 2016] [ssl:warn] [pid 216:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:05.115173 2016] [core:warn] [pid 216:tid 364] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 01 18:31:05.251181 2016] [ssl:warn] [pid 216:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:23.070200 2016] [ssl:warn] [pid 6292:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:31:23.101202 2016] [core:warn] [pid 6292:tid 364] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 01 18:31:23.239210 2016] [ssl:warn] [pid 6292:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:44:11.157132 2016] [ssl:warn] [pid 4856:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 01 18:44:11.320141 2016] [ssl:warn] [pid 4856:tid 364] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
what i've just tried to get it working:
staring xampp control panel as administrator
change ports httpd.conf Listen 8081 and httpd-ssl.conf Listen 444
turn off FW and AntiVir
i hope anybody knows what i have to do/change. :-/

XAMPP - Apache Error

This is the error I get when I try to start Apache.
The error logs are :
[ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 7132:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 7132:tid 392] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 configured -- resuming normal operations
[mpm_winnt:notice] [pid 7132:tid 392] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[core:notice] [pid 7132:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[mpm_winnt:notice] [pid 7132:tid 392] AH00418: Parent: Created child process 540
[ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 540:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[mpm_winnt:notice] [pid 540:tid 408] AH00354: Child: Starting 150 worker threads.
I don't understand what the problem is. Can anyone help?
I have changed the Ports in the below lines in the httpd.conf file
Listen 80
ServerName localhost:80
Are there any other files where I need to change these values?
It worked when i run the XAMPP control panel with administrator rights.
You only have to change the port in the httpd.conf
try:
netstat -ano
and check if Port 80 is not used by another Program.
Close the Program which uses port 80 and try to start apache again.