1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Apache err 'File does not exist'

Discussion in 'Web Design & Development' started by cearlp, Sep 25, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    Apache says my .html file doesn't exist and it is type 'HTML~File'. It finds another .html file in the same folder but it is 'HTML Document' type.
    Is there a way to change a file type of 'HTML File' to 'HTML Document' ?
     
  2. tomdkat

    tomdkat Retired Trusted Advisor

    Joined:
    May 6, 2006
    Messages:
    7,148
    Could you post the exact Apache error message?

    Thanks!

    Peace...
     
  3. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    tomdkat,
    Thanks for the quick response.

    It is in the apache error log file and says:
    [date & time] [error] [client 127.0.0.1] File does not exist: C:/Apache/htdocs/memsearch.html

    Hope this helps.
     
  4. tomdkat

    tomdkat Retired Trusted Advisor

    Joined:
    May 6, 2006
    Messages:
    7,148
    Thanks for posting the message. In your htdocs folder, is there a file named memsearch.html? Is this the file you say is a 'HTML~File' when you view it in Windows Explorer?

    Peace...
     
  5. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    Yes, the file that came with apache is index.html and it works fine. It is shown as filetype HTML Document whereas memsearch.html is listed as an HTML~File.

    Again, thanks
     
  6. tomdkat

    tomdkat Retired Trusted Advisor

    Joined:
    May 6, 2006
    Messages:
    7,148
    How did you create the memsearch.html file? Which tool did you use to create it? Can you open it in Notepad and does it open ok?

    Peace...
     
  7. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    I created it with Vim ( a vi like editor) but I have opened it in Notepad and saved it as filetype .html, .htm.
     
  8. tomdkat

    tomdkat Retired Trusted Advisor

    Joined:
    May 6, 2006
    Messages:
    7,148
    I'm familiar with vim. memsearch.html is in C:/Apache/htdocs as well as the index.html file that does work? Can you post a screenshot of how your C:/Apache/htdocs folder looks in Windows Explorer? Be sure to display the files in the "Details" view.

    Peace...
     
  9. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    It will take a bit of time since I am not on that machine at the moment. The index.html file has an icon of IE which opens with Internet Explorer whereas memsearch,html has an icon of Vim which opens with Vim in edit mode, from what I can determine from the File Types tag under the Folder Options menu. Do you know if it s possiblle to change the actions that are associated with File Types?
     
  10. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    Whoops! How do I take a screenshot?
     
  11. tomdkat

    tomdkat Retired Trusted Advisor

    Joined:
    May 6, 2006
    Messages:
    7,148
  12. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    Here it is (I hope)
     
  13. tomdkat

    tomdkat Retired Trusted Advisor

    Joined:
    May 6, 2006
    Messages:
    7,148
    Where? :)

    Peace...
     
  14. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    Sorry, The screen shot is too large to upload. I'm working on getting it smaller
     
  15. cearlp

    cearlp Thread Starter

    Joined:
    Sep 25, 2008
    Messages:
    15
    Sorry again. Using your instructions I can't seem to cut the file down to be small enough to upload.
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/753379

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice