.shtml quick simple question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    .shtml quick simple question

    i've renamed my indexfile from index.html in to index.shtml but now when i try access my site i get the dysplaing of my directory structure (links to all the files from the root directory)
    why is not loading the index.shtml file? what should i do to see the index.shtml and not the list of the files from directory?
  • psili
    Confirmed User
    • Apr 2003
    • 5526

    #2
    in your virtual host, put

    DirectoryIndex index.shtml index.html

    cuz you're apache conf file settings default to index.html
    Your post count means nothing.

    Comment

    • strobi
      Confirmed User
      • Nov 2002
      • 7383

      #3
      format c:

      Comment

      • alex79
        Confirmed User
        • Jun 2002
        • 996

        #4
        Originally posted by psili
        in your virtual host, put

        DirectoryIndex index.shtml index.html

        cuz you're apache conf file settings default to index.html
        thanks

        Comment

        • sweet7
          Confirmed User
          • May 2003
          • 1792

          #5
          Originally posted by psili
          in your virtual host, put

          DirectoryIndex index.shtml index.html

          cuz you're apache conf file settings default to index.html
          What he said, except the virtual host, I no understand. Change your settings in your conf file or speak to your admin. He/She will take care of it.
          ICQ: 282814268

          Comment

          • alex79
            Confirmed User
            • Jun 2002
            • 996

            #6
            Now the index.shtml is working but the SSI code are not working.. how do i make to work the SSI code?

            Comment

            • Babaganoosh
              ♥♥♥ Likes Hugs ♥♥♥
              • Nov 2001
              • 15841

              #7
              Originally posted by alex79
              Now the index.shtml is working but the SSI code are not working.. how do i make to work the SSI code?
              What is the code you are trying to use?
              I like pie.

              Comment

              • alex79
                Confirmed User
                • Jun 2002
                • 996

                #8
                Originally posted by Armed & Hammered


                What is the code you are trying to use?
                the code from TTT script:

                PHP Code:
                <!--#include file="ttt-in.php" --> 
                

                Comment

                • Babaganoosh
                  ♥♥♥ Likes Hugs ♥♥♥
                  • Nov 2001
                  • 15841

                  #9
                  This may sound like a stupid question but is the path to the file correct? If so, try include virtual instead of include file.
                  I like pie.

                  Comment

                  Working...