Results 1 to 7 of 7

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

Threaded View

  1. #1
    Join Date
    Aug 2010

    Chrome downloads http://localhost/ but works fine


    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 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


Posting Permissions

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