XAMPP Day 2

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

XAMPP Day 2

Postby OzWaz » 04. December 2013 02:19

Yesterday I correctly installed XAMPP and using a tutorial began learning PHP.

The system worked fine.

Coming back today to take up where I left off I find that the server will not recognise the file path to the files I was using yesterday.

I get this error

Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
127.0.0.1
Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19


This is Windows Explorer's file path for the file I was using yesterday

C:\xampp\htdocs\learn.php

This is the file path I have tried (typed them into Firefox browser navigation window)

http://127.0.0.1/htdocs/learn.php

[http://127.0.0.1/xampp/htdocs/learn.php

to which I get the error described above

However this file path

http://127.0.0.1/xampp/

I note works and brings up the XAMPP for Windows page

What am I doing wrong and what do I need-to-know?

Thanks
User avatar
OzWaz
 
Posts: 12
Joined: 02. December 2013 13:23
Operating System: windows7

Re: XAMPP Day 2

Postby JJ_Tagy » 04. December 2013 06:11

Try http://127.0.0.1/learn.php

htdocs should be your base location.
JJ_Tagy
 
Posts: 678
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests