Apache stopped working for me (xampp)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache stopped working for me (xampp)

Postby jery » 09. April 2022 18:14

Hi,
localhost has stopped working, I'm getting this message:

Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 Server at localhost Port 80


It happened at the time I had this in the apache error.log:

Code: Select all
[Fri Apr 08 09:44:26.305557 2022] [ssl:warn] [pid 5728:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 08 09:44:26.340559 2022] [core:warn] [pid 5728:tid 248] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 08 09:44:26.342559 2022] [ssl:warn] [pid 5728:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 08 09:44:26.407563 2022] [mpm_winnt:notice] [pid 5728:tid 248] AH00455: Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 configured -- resuming normal operations
[Fri Apr 08 09:44:26.407563 2022] [mpm_winnt:notice] [pid 5728:tid 248] AH00456: Apache Lounge VC15 Server built: Apr 22 2020 11:11:00
[Fri Apr 08 09:44:26.407563 2022] [core:notice] [pid 5728:tid 248] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 08 09:44:26.409563 2022] [mpm_winnt:notice] [pid 5728:tid 248] AH00418: Parent: Created child process 6396
[Fri Apr 08 09:44:26.805586 2022] [ssl:warn] [pid 6396:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 08 09:44:26.836587 2022] [ssl:warn] [pid 6396:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 08 09:44:26.877590 2022] [mpm_winnt:notice] [pid 6396:tid 260] AH00354: Child: Starting 150 worker threads.


At about that moment I was putting something on GitHub via PHPStorm, also on Bitbucket, I was also trying to place something on free hosting (I tried various .htaccess files). I also had Total Commander running. Then I wanted to continue on localhost and it didn't work anymore - nothing works at all, it's not just one project. Now I have this in error.log:

Code: Select all
[Sat Apr 09 18:46:31.697527 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50216] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/
[Sat Apr 09 18:46:31.697527 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50216] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/
[Sat Apr 09 18:46:32.225557 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50217] C:/.htaccess: <IfModule not allowed here
[Sat Apr 09 18:46:32.226557 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50217] C:/.htaccess: <IfModule not allowed here
[Sat Apr 09 18:46:32.287561 2022] [core:alert] [pid 2224:tid 1520] [client ::1:50218] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/
[Sat Apr 09 18:46:32.288561 2022] [core:alert] [pid 2224:tid 1520] [client ::1:50218] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/


Where should I look for a mistake, please? Thanks a lot in advance.
jery
 
Posts: 3
Joined: 01. February 2020 03:42
XAMPP version: 7.4.1
Operating System: Win 7 SP1 64bit

Re: Apache stopped working for me (xampp)

Postby Altrea » 09. April 2022 21:27

Hi,

jery wrote:
Code: Select all
[Sat Apr 09 18:46:31.697527 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50216] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/
[Sat Apr 09 18:46:31.697527 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50216] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/
[Sat Apr 09 18:46:32.225557 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50217] C:/.htaccess: <IfModule not allowed here
[Sat Apr 09 18:46:32.226557 2022] [core:alert] [pid 2224:tid 1528] [client ::1:50217] C:/.htaccess: <IfModule not allowed here
[Sat Apr 09 18:46:32.287561 2022] [core:alert] [pid 2224:tid 1520] [client ::1:50218] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/
[Sat Apr 09 18:46:32.288561 2022] [core:alert] [pid 2224:tid 1520] [client ::1:50218] C:/.htaccess: <IfModule not allowed here, referer: http://localhost/

What is the contents of C:\.htaccess?
Why do you have a .htaccess file in the root of your C: drive?
Why do you serve ressources from the root of your C: drive?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 247 guests