Results 1 to 7 of 7

Thread: Chrome downloads http://localhost/ but not http://127.0.0.1/

Threaded View

  1. #1
    Join Date
    Aug 2010
    Beans
    2

    Chrome downloads http://localhost/ but http://127.0.0.1/ works fine

    Hello,

    Here are the app versions:
    - Ubuntu 10.04 Lucid Lynx
    - Chrome 5.0.375.127 (with or without --enable-ipv6)
    - Apache 2.2.14

    When I go to http://localhost/ a file named "download" gets downloaded. I have no such file in my server, thus this is part of Chrome's strangenesses.
    The file contains "<?php phpinfo(); ?>" the same content as my phpinfo.php file.

    But I do have an index.html file containing just "It Works", but it doesn't get viewed unless I type explicitly http://localhost/index.html

    BUT, when I type http://127.0.0.1/ without adding index.html to the URL, it works!

    The strange thing is that this issue does not exist with Firefox. So when I type http://localhost/ I get my index.html as I expect it.


    Before trying with Firefox, I thought it was an issue with my apache config, but now I don't know if Apache, Chrome, or both are the source of the problem.

    Thanks for any help!
    Last edited by teabee89; August 24th, 2010 at 08:59 AM. Reason: ambiguous title

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •