Results 1 to 5 of 5

Thread: reading .html and not .php

  1. #1

    reading .html and not .php

    My apahce server will only reconize .html when i go to the url i have setup on my home machine .php works only if i specifiy the file, why is that?


  2. #2
    Senior Member
    Join Date
    Nov 2001

    Re:reading .html and not .php

    On the "DirectoryIndex" line, add index.php. Make sure you uncomment the line that loads PHP.

  3. #3

    Re:reading .html and not .php

    which config file?

  4. #4
    Join Date
    Apr 2002

    Re:reading .html and not .php

    httpd.conf it's location depends on your distro. Often it is in /etc/httpd.conf but it may not be on your system. Just do a search for it.

  5. #5
    Senior Member
    Join Date
    Nov 2001

    Re:reading .html and not .php

    Oh, sorry. I thought I included that. Yeah, just search for httpd.conf. It might be in /etc/apache, but some distro's put things all over so that might not be the exact location on your box.

Similar Threads

  1. What are you reading?
    By halfpipe10 in forum General Chat
    Replies: 2
    Last Post: 02-11-2006, 03:33 AM
  2. Incorrect RAM Reading
    By shebang in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 10-10-2005, 06:07 AM
  3. What Book Are You Reading Right Now?
    By stryder144 in forum General Chat
    Replies: 12
    Last Post: 08-19-2005, 07:28 AM
  4. Reading variables...
    By Gary Penner in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 02-25-2005, 10:35 PM
  5. CD-ROM reading
    By dgwebstuff in forum Linux - General Topics
    Replies: 11
    Last Post: 05-24-2002, 03:10 AM


Posting Permissions

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