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

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 1,800
    Windows 7 Pro x64 SP1
       #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
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #12

    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 Computer


  3. Posts : 102
    Windows 7 32
    Thread Starter
       #13

    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 Computer


  4. Posts : 5,092
    Windows 7 32 bit
       #14

    otuatail said:
    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 Computer


  5. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #15

    otuatail said:
    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 Computer


  6. Posts : 2,066
    Windows 8 Pro w/MC 32-bit
       #16

    MilesAhead said:
    ...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 Computer


  7. Posts : 31
    Windows 7 Home Premium 64 OEM
       #17

    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 Computer


  8. Posts : 102
    Windows 7 32
    Thread Starter
       #18

    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 Computer


  9. Posts : 644
    Windows 7 home premium x64
       #19

    Being a website developer this might be an obvious question.
    Have you created an index page or are you expecting one already exists ?
      My Computer


  10. Posts : 31
    Windows 7 Home Premium 64 OEM
       #20

    "It works" is what the Apache placeholder page says.
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 06:53.
Find Us