Page 1 of 1

XAMPP Day 2

PostPosted: 04. December 2013 02:19
by OzWaz
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

Re: XAMPP Day 2

PostPosted: 04. December 2013 06:11
by JJ_Tagy
Try http://127.0.0.1/learn.php

htdocs should be your base location.