Accessing HtDocs

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

Accessing HtDocs

Postby ekuemoah » 15. May 2010 00:17

Hello,

I just installed xampp on my computer. I saved a file to the htdocs document and tried to access it through the server using the http://localhost/ address. I got an error 404 message saying that the url is not found. I can only access the xampp file but not any other folder.
ekuemoah
 
Posts: 1
Joined: 15. May 2010 00:14

Re: Accessing HtDocs

Postby Altrea » 15. May 2010 01:35

Are you sure, that you type in the right URL?

if you just type in http://localhost/ the index.php file will redirect you in the xampp folder, so your URL will change.
files directly inside your htdocs folder can be accessed by http://localhost/filename.xyz, not http://localhost/xampp/filename.xyz
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 138 guests