why the apache2.2 cannot show the "include" files when testing online

Discussion in 'Apache' started by zz98566, Jul 24, 2006.

  1. #1
    hi,everybody,
    i start using the apache2.2 for only a very short time. now i am facing a big problem.
    the apache2.2 server cannot show all "include files" in the coding, why?
    do i need any configuration? or...i dont know~
    plz help.

    i am sure there is no coding problem.
    because i have tested it on my friend's apache server, it works...
    so can you tell me the reason and the solution??
     
    zz98566, Jul 24, 2006 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    Add

    Options +Indexes
    Options +FollowSymlinks
    Options +Includes

    in .htaccess and see if that helps. On my server I have to have that to do SSI, though I'm on an older apache version.
     
    Nintendo, Jul 24, 2006 IP
  3. zz98566

    zz98566 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you for your quick reply, Nintendo.

    i just searching for the .htaccess file. do i need to create it or it is the one locates under \manual\howto ? if it is, i copy the 3 commands to the text and save, nothing happens~~

    anything wrong?
     
    zz98566, Jul 24, 2006 IP
  4. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #4
    Upload it as a normal file.

    domain.com/.htaccess

    If you can't do that, upload it as text.htaccess and rename it.

    If this doesn't make it work, I don't know what would.
     
    Nintendo, Jul 24, 2006 IP