Location of Index.html on Lion

on my MAC lion, I type http://localhost, it show as ffollowing:
It Works
which means my web server is  working, right?
if I changge Index file to my web page, it will replace the "it works". how can I find the exactly location of Index.html? I can no find it.

If your using Server.app (the Apple server software), then in the web-service you create a 'site' and specify which folder on your hard disk is storing the webpages for that site.
The server software will then as default look in that folder for an index.html, or index.php, or default.html file (you can customise this).

Similar Messages

  • When I try to open iweb I get the following message: Can't open file "~/Sites/NAVIGATOR/index.html." How do I fix this? Using 10.6.3 soon to be 10.6.6 and then Lion.

    When I try to open iweb I get the following message: Can’t open file “~/Sites/NAVIGATOR/index.html.” How do I fix this? Using 10.6.3 soon to be 10.6.6 and then Lion. I have never opened the product before and have had it on the computer since new.

    Go into your Users/Home/Library/Application Support/iWeb folder and see if there's a file titled Domain.sites.  If there is double click on it and see if iWeb opens.
    If there is no Domain file there do the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    OT

  • How to Locate in Site index.html ?

    Let's say I have opened a lot of pages with the same name
    index.html from different sites. Is there an easy way of locating
    the site of the current page?

    Add these lines to your conf\server.xml file,
    <Context path="/"
    docBase="C:/myapp"
    crossContext="true"
    debug="0"
    reloadable="true"
    trusted="false" >
    </Context>
    <Host name="http://127.0.0.1:8080" >
    <Context path="/"
    docBase="C:/myapp" />
    </Host>
    Hope this helps.

  • Index.html pages in local sub-directories will not load automatically when sub-directory name entered into address field, followed by a forward-slash

    I am in the process of designing a website-on-a-CD. In order to make things easier for my clients, I decided to organize this site into local sub-directories with an index.html page in each one. However, when I try to enter the local sub-directory name, followed by a forward-slash, the index page does not open automatically. Instead, I get a raw directory listing that includes the index.html file, and anything else that is present within it. I would like to know if there is any way to force this page to load automatically within Firefox from a local storage medium as it would load from a web-server.

    You need to use file:// as the protocol instead of C:/. The latter may never work (C:\ might).
    Where is the main HTML located ?
    Easiest if to store the images in a sub folder of the location because you can't go back via ../ beyond that root location for security reasons.
    See:
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • How can I reopen an index.html saved to iDisk?

    Hi there,
    I created a personal site on a Powerbook laptop in iWeb a year or so ago and published it through my .mac account. It was great and I updated it on a fairly regular basis. Then my existing laptop died of old aged and I replaced it with a new MacBook Pro. I have located the original index.html in the appropriate "Sites" folder under the iDisk icon on my "new" desktop but it won't reopen the files in iWeb. (I'm just dragging and dropping it onto the iWeb icon.) Am I doing something wrong or can a web site created in iWeb only be changed on the Mac that first created it? I'm guessing (and hoping) that this isn't the case but I'm at a loss as to what to do. Please help.
    Regards,
    Ian David

    blokewriter wrote:
    ...or can a web site created in iWeb only be changed on the Mac that first created it?
    Ian ~ Welcome to the discussions. A web site created in iWeb can be changed on a Mac other than the one which first created it. But only iWeb's Domain file can be opened in iWeb. See this Apple doc on How to back up MobileMe data. It says:
    Any websites you have published with iWeb should still be available within iWeb. iWeb stores everything in a Domain file, normally located in the ~/Library/Application Support/iWeb folder (although it can be moved). If you no longer have this file, you can view your currently published pages and manually recreate them within iWeb, but there is no way to import published pages back into iWeb. You can manually back up the Domain file, or use Backup to back it up.
    Paragraph 2.3 of this FAQ page gives some tips on how to use published files, graphics, photos, etc., to help rebuild the site from scratch:
    http://iwebfaq.org/site/iWebBackupretrieve.html

  • The document "index.html" could not be opened.

    Hi,
    I'm having trouble opening iWeb. When i double click on the iweb icon it tries to open a particular file (index.html), but claims it can't open it and subsequently quits. This happens no matter if I try to open any other file with iWeb, even files that were originally created with iWeb. I can't find the iLife installation CD (i think because it came installed on the computer when i bought it). Any help would be appreciated
    thanks!

    iWeb stores your website data in a domain file located in Home Folder/Library/Application Support/iWeb.
    Go look and see if you have one there. It should be the only file there - normally.
    Double click it to launch iWeb

  • Where is localhost/index.html in the file system?

    I have been trying to learn php and some months ago created a file that makes "It works!" come up when I type "localhost" in the browser.  Now I can't locate where in the file system the file is.  I am not sure it is in the same spot that Apple set as the default.  I recently installed MAMP, which expects localhost to default to /Applications/MAMP/htdocs.  It doesn't.  Bottom line is I want to know how to find the "index" file that the browser looks for when I type "localhost" and how to change where the browser looks for it if I have to.  The browser I use is Firefox 15.0.1.

    Tough to say where you might've directed it to be, but...
    Get Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option/alt when clicking on Find button to Find All.
    Search for Name equals index.html, sort on Date Modified when done & see if you can find it.

  • Updating content of index.html file of J2EE Engine

    Hi,
    I would like to update the content of index.html file, which is located under D:\usr\sap\NSP\JC01\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html.
    I have requirement to change the html file content with latest news and we want to access this latest news through http://host:port/index.html ( to avoid authentication to server). In this html file I will plase link to connect to portal.
    The problem is updated content of this html file is not displaying in the browser. It is taking from cache. How to avoid this cache problem.
    Thanks

    Hello,
    I think you wish to change your logon screen, this will not be done simply by changing the index.html
    Please check this link for more information:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ff/c7de3fc6c6ec06e10000000a1550b0/frameset.htm
    Regards,
    Siddhesh
    Edited by: Siddhesh Ghag on May 21, 2008 1:54 PM

  • Can folders' index.html contents avoid containing such folders' names within their urls, please?

    Could Dreamweaver’s file panel folders (located to the right, within Dreamweaver CS5.5, etc.)  potentially contain index.html files that do NOT share such folders’ actual names within their own urls?
    The reason I ask is that I would like to create various index.html sub-directories that will all be linked from yet another index.html subdirectory, for web surfers’ convenience.   It would really help me keep them all organized (for occasional updates' sake) if I could keep them in a folder within Dreamweaver’s file panel that at least resembles that other index.html subdirectory’s name, though.   However, it seems that moving index.html files to such an "alpha" folder inserts that alpha folder’s name into the contained urls, not just its own.   Can this be avoided or worked around, somehow, please?     In case it helps, I have CS5.5 and will have CS6 upon its release date.   Any thoughts, please? 

    Thanks for the preliminary response.   It would really help me keep index.html files organized (for occasional updates' sake) if I could keep them in a folder within Dreamweaver’s file panel  (to the right) whose name does NOT appear in those individualized urls. 
    To give you an example of why I'd like to be able to do this, let's say one wants to have a folder named California, and that various index.html files will be linked from the actual California page.   If one wants to update all pages that belong in the California directory, without having to sort through pages that correspond with (for example) Oregon or Arizona that one ALSO maintains, it could be greatly facilitated if such index.html files could be organized into a California file or something whose name is close to it.   If a page is named "Sacramento" then it need not have California in the url.  Indeed, longer urls are less appealing for the purposes of this endeavor.    So in using this concrete example as background, perhaps my initial question makes more sense now?   At any rate, thanks for trying 

  • Can't link to index.html

    (Domains and project names are redacted.)
    I am publishing a Doxygen HTML tree using OS X Server (Mountain Lion). I have "Websites" on, and in "Server Website," I have aliased "/MyProject" to "/Users/fritza/Department/Project/docs/html". "index.html" is the first in the list (I have not touched it) of index file names.
    There is an index.html file in that directory. Accessing http://my.example.com/MyProject gives me the Doxygen main page, and I can navigate from there. Good.
    But there is a "Main Page" link on each page, which is coded as:
    <a href="index.html"><span>Main&#160;Page</span></a>
    An HREF to "index.html" should be no problem, right? (The website's tree is flat, by the way.)
    Instead, when I click the link, I get a 404 page, and the complaint that /MyProject/index.html/ (note the trailing slash) is not found. This happens even if you click the link as it appears in index.html itself.
    Linking to index.html, the file, seems like an elementary thing to do. Other people must be getting the correct behavior. What have I done wrong?

    Logo is what file type?
    What is the URL to your online problem page?
    Nancy O.

  • Iweb and index.html won't work with ftp provider

    Hello all.
    I have been working on my new website using iweb 09 and I have had problems publishing it to My ftp provider. I have followed all the prompts to the end, but when I have published my site and go looking for it on Web using my URL , it says there is an error.
    I have been in touch with my host provider " Just Host" and this is the message they sent me ( I have copied and pasted it ):
    As I see all you have uploaded to the *login name* account is index.html.
    You have uploaded it incorrectly, to the root folder /login name/, whether index file and the rest of the site for www.mywebsite.com should be located in the /login name/public_html/ folder.
    I've moved the file to the proper folder and the site started showing up the error.
    Your index.html file is incorrect.
    What does this all mean? I went to the apple shop and they suggested using Mobile Me as this would not happen, but that does not suit me as I have just signed up for 4 years with Just Host and I'd like to use them. The apple shop also told me that iweb separates each page of the website and assigns an index.html to each folder for each page and they supposedly are all linked? From the above e-mail if I understand it correctly, this is not the case or do I have to do something for this to happen?
    I am at a total lost and having a melt down! Can any one out there help me in plain English as I am only new to all this and am only just getting familiar with the website terminologies? I have searched many forums and have had to look up hundreds of terms in " computer " dictionaries to understand what people are talking about. Please excuse my mental breakdown, as I am really worried that all this work I have put in will go down the chute.
    I'm sure you understand how frustrating it can be when something so simple becomes so difficult!
    Your help would be greatly appreciated.
    Thank you .
    Ben.

    Hello Ethmoid.
    Thank you for your response. I have attached this e-mail to both you and Wyodor as you have been both extremely helpful.
    I have managed to get my home page up thanks to your help, but for some reason now , it won't go to the following pages, about,products etc?
    As I have done a few web site practices ,I have read that sometimes Iweb has trouble distinguishing between the different sites published in my site or public folders. Could this be the problem? Do I need to delete my old sites?
    I tried to change the site name to another name but it won't allow me, every time I retype the new name it keeps jumping back to the extra www.etc.
    Also for some reason , all the boxes where my page headings are, they seem to be out of line and a different size even though on my desktop on iweb my front page has all the boxes the same size.
    Why is this?
    Once again thank you for your help.
    Ben

  • Problems with index.html

    When I first started using dreamweaver mx 2004 I created my
    site in what I now think might be the wrong way but that was what
    the books that I was using at the time said to do.
    I created a site folder and then I created the homepage. I
    then created two more folders inside the site folder, one called
    text_copy and one called images_copy (in a different website I
    created everything inside the main site folder-images,homepage and
    text files all live together).
    This original method of separating everything has come back
    to haunt me.
    Dreamweaver wants your homepage called index.html and when I
    type in my domain-
    dimension x toys
    the homepage comes up. But the problem is none of the
    javascript pull down menus that I have created work on the
    homepage. They work on all of the other pages in the site but not
    this one. I created another page called index and set it inside the
    main text_copy folder. This page-
    index2
    has the pull downs work but it cannot be accessed as the
    homepage.
    Is the only alternative to
    1. re-create the entire site
    2. move all the information from the other folders out into
    the main folder.
    I hope there is a solution with what I currently have because
    the website is a lot of pages. Option 2 is less work but all of the
    links to the other files and images would be broken and it still
    while less, would be a considerable amount of work as I have a
    great many pages to the website.
    Thank you for your time.
    harlan1s

    you have to change the paths for the root level index page.
    The links won't
    have the same relative path as the ones that are in the
    subfolder.
    did you just copy/paste the menu onto the index page from a
    page in the
    subfolder? Or do a "save as"?
    Look in the head section of the code.
    The sections of javascript that start with mm_menu are the
    instructions for
    how that menu works.
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='../t
    ext_copy/batman13family.html'");
    for the root level homepage index.html file, that link should
    be:
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='text
    _copy/batman13family.html'");
    Look at the location= part.
    notice i took out ../
    and actually- for the menu on pages IN the text_copy folder
    linking to other
    pages IN the text_copy folder- the correct relative path
    would be:
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='batm
    an13family.html'");
    There's no need to go Up a folder, then go down into the same
    current
    folder.
    another way to do it, so it's the same on all the pages,
    would be to use the
    full absolute http path.
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='http
    ://www.dimensionxtoys.com/text_copy/batman13family.html'");
    note- those menus have problems and are a maintenence
    nightmare. A menu
    built from tutorials and free extensions at
    http://projectseven.com would
    make life easier and work better.

  • [warn] mod_bonjour: Cannot read template index file '/System/Library/User Template/English.lproj/Sites/index.html'.

    Operating System: Lion 10.7.5
    I was getting this warn in the logs
    [warn] mod_bonjour: Cannot read template index file '/System/Library/User Template/English.lproj/Sites/index.html'.
    and looking to the System directory on;
    System/Library/User Template
    User Template was locked and onwned by the System.
    I went to the terminal and type;
    sudo mkdir "/System/Library/User Template/English.lproj/Sites/"
    sudo touch "/System/Library/User Template/English.lproj/Sites/index.html"
    re-started Apache
    The warn went away gracefully

    I am adding here that this seems to be a permissions bug since the "User Template" is owned by the system and no one else have access to it. The warn went away temporarily because the permissions still wrong in that directory. I changed the permissions on the User Template directory to read and see what is inside and it loops to the user system structure. Most of the directories in the system structure are locked leaving only the public and sites directory with the correct permissions. Inside of the sites folder have a blank index.html file with read access.
    So I am not sure if what I did until now will resolve the warn issue.
    What I did was to get info on the User Template directory, authenticate as root and change the permission to the admin to read only. That is harmles since not even the admin can change its content. The warn seems to have gone away for now. However, the point here is to find out if the permissions should be read and write for the admin instead of read only or some other conf. More latter!

  • Creating an Index HTML in Dreamweaver?

    I am new to Dreamweaver and was trying to up
    load my web to the server.  It seems most servers require an INDEX HTML as the opening p
    age.  However, dreamweaver does not create this.  I have afolder with
    the home page files in it.  How do I make these pages the index.  Its a frame s
    et page

    No I do understand completely.  It is now corrected.  Was simply not aware
    that DW requires an HTML named index.  Some others automatically create an
    index page as your first page.  I have been in contact with my host server
    and have now corrected.  Now, when I go to my temp URL I see exactly what I
    wish to see.  Part of the issue was the way DW handles Frames pages (still
    not sure I get that part?);  although I do now have it working.  I simply
    pointed my server to a new location IE the home page and did not create an
    index page.  My home page is a Frame set page with links to other pages.
    Once my domain has been transferred I'll be glad to share the site with you.
    Perhaps you can provide additional info to a novice DW user.  I have used
    other web sites and have other webs published etc..  Just feel that DW
    offers lots more capabilities and am still learning that program.
    Thanks for your assistance and look forward to continued conversation and
    assistance!
    Rick

  • Captivate 8, HTML5: Unable to drag objects using the index.html

    Using Captivate 8 and publishing to SWF and HTML5. In the published index.html file, I'm unable to drag anything in my drag and drop interaction.
    Disabled Master Slide Objects on Top
    Accept All disabled in Accepted Drag Sources
    Set opacity of drop targets to 0%
    The interaction works in the swf version of the course and the [project_name].htm file, just not in the index.html. When previewing in the browser from CP8, the interaction works, but not when previewing HTML5 in the browser.
    Is there something I need to do to make the drag and drop interaction work in HTML5? Something I need to activate? Edit in the code?
    Thanks,
    Kelly

    I have not upgraded at this time, but I can if that will fix the issues I'm having with the published files.
    To clarify, my project is NOT a responsive project. I'm just selecting HTML5 on the publish. And I am testing it locally, on our company server, and online. The drag and drop does not work in any instance of the index.html any of these locations.

Maybe you are looking for