PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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.
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
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.
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?
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.
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?
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?
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.