404 error in Xampp needing help please

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

404 error in Xampp needing help please

Postby Michael Wright » 23. March 2021 03:25

Hello i need how Xampp is showing this when i click on admin but i have set every think up my sql is working but my localhost is not regards Mike :D

Not Found
The requested URL was not found on this server.

Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.1 Server at localhost Port 80
Michael Wright
 
Posts: 2
Joined: 23. March 2021 03:06
XAMPP version: V3.2.4
Operating System: Windows 10

Re: 404 error in Xampp needing help please

Postby Altrea » 23. March 2021 07:21

Hi,

Please check that:
  • the url your browser shows at the time this error is shown is http://localhost/dashboard/
  • the folder \xampp\htdocs\dashboard\ and the index.php file in it is present
  • the file \xampp\htdocs\index.php is present and untouched
  • you did not changed the DocumentRoot in your \xampp\apache\conf\httpd.conf
  • you did not defined any virtual hosts (e.g. in your \xampp\apache\conf\extra\httpd-vhosts.conf

Please check your Apache access.log too for more information about the request that returns the 404 not found HTTP status
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: 404 error in Xampp needing help please

Postby Michael Wright » 24. March 2021 09:37

DocumentRoot "C:/xampp/htdocs" if i wish to name my site stormsearchers is this where i put it in like this DocumentRoot "C:/xampp/htdocs"stormsearchers" mike
Michael Wright
 
Posts: 2
Joined: 23. March 2021 03:06
XAMPP version: V3.2.4
Operating System: Windows 10

Re: 404 error in Xampp needing help please

Postby Altrea » 24. March 2021 10:00

I cannot answer that, because i don't know what you understand for the term "site name".

[...] This directive sets the directory from which httpd will serve files. [...]

Source: https://httpd.apache.org/docs/2.4/en/mo ... cumentroot
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: 11926
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 108 guests