Browsing to directory doesn't open index.htm

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tarantulus
    New Member
    • May 2007
    • 114

    Browsing to directory doesn't open index.htm

    hi guys,

    this is probably a stupid question, but can anyone explain to me why when I navigate to www.mydomain.co m it doesn't open the index.html file?

    I have the following directive in my httpd.conf file:
    Code:
    DirectoryIndex index.htm index.html index.php index.php3 default.html index.cgi index.htm
    any ideas are appreciated as always
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by Tarantulus
    hi guys,

    this is probably a stupid question, but can anyone explain to me why when I navigate to www.mydomain.com it doesn't open the index.html file?

    I have the following directive in my httpd.conf file:
    Code:
    DirectoryIndex index.htm index.html index.php index.php3 default.html index.cgi index.htm
    any ideas are appreciated as always
    First, what operating system are you using?

    Comment

    • Tarantulus
      New Member
      • May 2007
      • 114

      #3
      Originally posted by numberwhun
      First, what operating system are you using?
      DOH sorry, forgot that vital piece of info, it's solaris 9

      Comment

      • shabinesh
        New Member
        • Jan 2007
        • 61

        #4
        saw logs?

        hi!
        Did you find any errors in logs in /var/log/error_log or access_log?

        Comment

        • jjeanj1
          New Member
          • May 2007
          • 18

          #5
          That's actually a good question. I never really understood how this works did you try to see if the DirectoryIndex uses precedence. For example if you list index.html before index.htm would that work?

          Comment

          • jjeanj1
            New Member
            • May 2007
            • 18

            #6


            Take a look at this... it might help. Let us know if this actually solved your problem.

            Comment

            • Tarantulus
              New Member
              • May 2007
              • 114

              #7
              it seems someone has been screwing with httpd.conf and now it won't start at all.
              so I guess this is the least of my problems right now.

              Comment

              Working...