Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317

    apache displays html source


    for some reason apache just puts up the source code forthe web page. i have gotten apache to actiaualy display something but its not being rendered. is there some option in apache i need to switch?
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  2. #2
    Is this happening for *.html files?

  3. #3
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    yes, even the default page that comes with apache is doing it.
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Feb 2006
    Location
    KP22
    Posts
    106
    Have you checked that MIME types are handled correctly?

  6. #5
    are you browsing to these pages instead of opening them?
    For instance http://localhost/mypage.html

  7. #6
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    how would i go about the mime types.

    ive accessd the page many ways. 192.168.1.3, 127.0.0.1 http://localhost/ http://localhost/index/html
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  8. #7
    Linux Newbie
    Join Date
    Feb 2006
    Location
    KP22
    Posts
    106
    In your apache config dir should be something like mime.types, I have it located to /etc/apache2/mime.types .

Posting Permissions

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