Page 1 of 1
URL not found problem
Posted: Thu Jun 29, 2006 11:45 pm
by SergeantJoe
Everytime I put the link to my file into my browser, this pops up.
Not Found
The requested URL /hello.php was not found on this server.
What does this mean, and how do I fix it?
Posted: Fri Jun 30, 2006 12:07 am
by Benjamin
Please post the link. It means that the file you are requesting isn't at the expected location.
Posted: Fri Jun 30, 2006 1:21 am
by Luke
Dude... don't title a thread "Problem"
Every thread here is dedicated to a problem. If everybody titled their threads "Problem"... you can see where things would get confusing...?
And like dude above me said... how can we possible see where the problem is with that little information? The error means exactly what it says. "Not found". It couldn't find your file. Probably isn't there.

Posted: Fri Jun 30, 2006 2:32 am
by SergeantJoe
How am I supposed to configure it properly then?
Posted: Fri Jun 30, 2006 2:42 am
by Luke
configure what properly? You need to give us more information, bud!
/hello.php tells me nothing. How am I supposed to help you with that little information? Tell me more, and I would be happy to help.
What EXACTLY are you trying to do? Did you just install php?
Posted: Fri Jun 30, 2006 2:59 am
by JayBird
Posted: Fri Jun 30, 2006 9:49 am
by SergeantJoe
I've configured my Apache Web Browser so that the "document root" is set to, C:/HTML, which is a folder I created. I've put the file that I want to view into that folder. M Apache sytem is working properly, I know that much. When I enter this URL,
http://localhost/hello.php, A "Not Found" page pops up that says this:
Not Found
The requested URL /hello.php was not found on this server.
Apache/2.0.58 (Win32) Server at localhost Port 80
I don't know what I've done wrong....
Posted: Fri Jun 30, 2006 10:06 am
by Luke
Apache web browser?
A web browser is what you use to surf the internet such as internet explorer or firefox. Apache is a server. If you have installed Apache on your machine, you are not going to be browsing anything with it. It will be serving pages if you have installed it properly.
Posted: Fri Jun 30, 2006 11:01 am
by RobertGonzalez
Typical Apache root directory is at c:\Program Files\Apache Group\Apache\htdocs\.
Have you tried to type in
http://localhost/ in your browser to see what is served from that URL?
Posted: Fri Jun 30, 2006 12:07 pm
by SergeantJoe
The Ninja Space Goat wrote:Apache web browser?
A web browser is what you use to surf the internet such as internet explorer or firefox. Apache is a server. If you have installed Apache on your machine, you are not going to be browsing anything with it. It will be serving pages if you have installed it properly.
It was a typing mistake, but thanks alot for all of the helpful information pertaining to my problem! /sarcasm
When I type
http://localhost into my browser, it shows the Apache2 folder. What does that mean?
Posted: Fri Jun 30, 2006 12:21 pm
by RobertGonzalez
That means there are problems with your installation of Apache. A fresh install of apache would show the apache generic start page when you type in localhost into the URL bar.
Posted: Fri Jun 30, 2006 12:44 pm
by SergeantJoe
Ok. I reinstalled my Apache. Now, when I type
http://localhost into the URL bar, a page comes up that says, "Open With" in the right hand corner, and gives me the option of either "Save to Disk" or "Browse" for a correct file to open it with. Is that what should happen?
Posted: Fri Jun 30, 2006 1:01 pm
by Luke
SergeantJoe wrote:The Ninja Space Goat wrote:Apache web browser?
A web browser is what you use to surf the internet such as internet explorer or firefox. Apache is a server. If you have installed Apache on your machine, you are not going to be browsing anything with it. It will be serving pages if you have installed it properly.
It was a typing mistake, but thanks alot for all of the helpful information pertaining to my problem! /sarcasm
When I type
http://localhost into my browser, it shows the Apache2 folder. What does that mean?

OK
Posted: Fri Jun 30, 2006 1:13 pm
by daedalus__
Are you having fun Ninja?
Posted: Fri Jun 30, 2006 2:31 pm
by RobertGonzalez
SergeantJoe wrote:Ok. I reinstalled my Apache. Now, when I type
http://localhost into the URL bar, a page comes up that says, "Open With" in the right hand corner, and gives me the option of either "Save to Disk" or "Browse" for a correct file to open it with. Is that what should happen?
That is totally not what should happen. What this means is there is a setting in your httpd.conf that needs to be edited to allow .html files to be interpreted by the server. But that usually comes set by default.
What OS are you on?