New
#11
Am I being stupid by asking the question. search on index or start try both .html and .htm
just ignore this if I am being dumb..
Rich
Am I being stupid by asking the question. search on index or start try both .html and .htm
just ignore this if I am being dumb..
Rich
I don't know why everyone is so reluctant to do the search here:
FAQ - Httpd Wiki
Web pages can also be dynamic. There may not be a file named "index.html" lying around.
edit: I'm not a web programmer. But just from managing my own web page I know apache uses a file .htaccess that may prevent a directory from being indexed so that unauthorized people can't just look through every folder to see what's to be seen. The default .htaccess may be set up to block indexing of all folders for all I know. There are example .htaccess files on the web with the various commands explained. No need to reproduce those docs here.
I keep saying that when I type in www.localhost or local host or even 127.0.0.1, I DO GET A WEB PAGE. I want to know where this html file exsists on my compuuter so I can edit it and use it for website development. Is this not clear to anyone?
And I asked you to search the relevant FAQ in the link, twice to see how it works. Can you not read the already documented information?
http://www.lestarte.com/pages/apache-tutorial-e.html
Web pages are often created dynamically
http://www.w3schools.com/dhtml/default.asp
It is, but listen to the advice given by MilesAhead please. In addition I asked you twice to tell us what the webpage says.
Simply telling us "I get a webpage" is useless information for us, for all we know it could simply be a default 404 error page. Which would then mean there's no running webserver at localhost.
If this is the link: FAQ - Httpd Wiki
I can't find a relevant link either by searching it for "localhost".
Using Apache HTTP Server on Microsoft Windows - Apache HTTP Server
If you did in fact see the Apache placeholder page then:
I am going to read the manual for you, I'm also trying to hold your hand but I think I can't reach :)
The default path is C:\Program Files\Apache Software Foundation under which a directory called Apache2.2 will be created by default.
Hmmm, I would start looking there.
if you already have a file called htdocs\index.html <------ is this it?!?!?!
I hope I have the correct version...
if you already have a file called htdocs\index.html <------ is this it?!?!?!
Your school education is lost on you here. I was writing computer programs probably before you where born giblets.
I do know what a html file looks like. I also know that I do not have to install it in the default directory and that the directory would not be called Apache2.2 if this was not the version of Apache I installed.
I do know what I am doing. Need a professiona to help.
I installed apache_2.0.63-win32-x86-no_ssl.msi to
E:\Apache Group\
When I type http://localhost/ into any browser (Some here want to know what browser I am using for some strange reason)
I get a page that has two words
It Works.
If I type in http://localhost/index.html
I Get the same.
There is a folder with lots of html pages in difrent languages in
E:\Apachie Group\Apachie2\htdocs like
index.html.de, index.html.en, index.html.dk
BUT NO index.html
I Havw also
C:\windows\system32\drivers\etc\httpd.conf with
<Directory "E:/Apache Group/Apache2/htdocs">
ServerRoot "E:/Apache Group/Apache2"
DocumentRoot "E:/Apache Group/Apache2/htdocs" // No index.html herer
<Directory "E:/Apache Group/Apache2/htdocs"> // No index.html herer
UserDir "My Documents/My Website" // No such folder My Website
Being a website developer this might be an obvious question.
Have you created an index page or are you expecting one already exists ?
"It works" is what the Apache placeholder page says.