Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: When I type www.localhost, where is index.html

21 Oct 2011   #11
richnrockville

Windows 7 Pro x64 SP1
 
 

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


My System SpecsSystem Spec
.
21 Oct 2011   #12
MilesAhead

Windows 7 32 bit
 
 

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.
My System SpecsSystem Spec
24 Oct 2011   #13
otuatail

Windows 7 32
 
 

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?
My System SpecsSystem Spec
.

24 Oct 2011   #14
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by otuatail View Post
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
My System SpecsSystem Spec
24 Oct 2011   #15
Corazon

Windows 7 Professional SP1 32-bit
 
 

Quote   Quote: Originally Posted by otuatail View Post
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?
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.
My System SpecsSystem Spec
24 Oct 2011   #16
roncerr

Windows 8 Pro w/MC 32-bit
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
...the relevant FAQ in the link...
If this is the link: FAQ - Httpd Wiki
I can't find a relevant link either by searching it for "localhost".
My System SpecsSystem Spec
24 Oct 2011   #17
giblets

Windows 7 Home Premium 64 OEM
 
 

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...
My System SpecsSystem Spec
27 Oct 2011   #18
otuatail

Windows 7 32
 
 

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


My System SpecsSystem Spec
27 Oct 2011   #19
cyclic

Windows 7 home premium x64
 
 

Being a website developer this might be an obvious question.
Have you created an index page or are you expecting one already exists ?
My System SpecsSystem Spec
27 Oct 2011   #20
giblets

Windows 7 Home Premium 64 OEM
 
 

"It works" is what the Apache placeholder page says.
My System SpecsSystem Spec
Reply

 When I type www.localhost, where is index.html




Thread Tools




Similar help and support threads
Thread Forum
localhost is not working
I try to connect to my localhost via firefox, i even have the 127.0.0.1 localhost in my hosts file, and still does not connect. I was trying to configure a controller for JDownloader, and i need to check if my localhost works. http://i60.tinypic.com/6jh8ww.jpg Any help would be...
Network & Sharing
Search Index not finding content in HTML files
I have .htm and .html files in a folder that is indexed (under Users folder). In Control Panel/Indexing Options/Advanced/File Types, I have the .htm and .html extensions, and they are set to index properties and file contents. I've tried unchecking them, rebuilding index, then checking and...
General Discussion
Website: index.html does not register
Have a website barendh.com with a simple structure, starting with index.html. Whenever I update some files this works fine, but when I try to replace index.html still the old version is shown, even when I just rename it to index.htmlBAK. I suppose it's some sort of refreshing thing, but I can't...
Browsers & Mail
Localhost not working
Hi lads, New here. The name is Dave. I'm hoping someone can help me out. When I try to view http://localhost , i get nothing . Page not found. I have WAMP server installed. I just can't seem to figure out whats wrong. I've restarted all the services in WAMP and everything but still,...
Network & Sharing
Cant browse to localhost with iis 7 and 2 ips
Hi Guys, Yesterday I was able to browse to http://localhost and see my iis webserver, today I installed an extra ip address onto my machine so I now have 192.168.10.251 and 192.168.10.252 and now when I browse to localhost I get a forbidden message? Does anyone know how to get my iis back...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App