always need index.php after mysite.com/test/ to work?

Discussion in 'PHP' started by glasshoper, Jul 20, 2007.

  1. #1
    hi. how do i make it so that mysite.com/test/index.php can work without having to type in index.php. i wanna make my site work so that just by typing mysite.com/test/ would work. thank you.
     
    glasshoper, Jul 20, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    That should work by default. If not, try using htaccess.
    
    DirectoryIndex index.php index.html
    
    Code (markup):
     
    nico_swd, Jul 20, 2007 IP
  3. glasshoper

    glasshoper Peon

    Messages:
    373
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sorry, it is working now. thank you.
     
    glasshoper, Jul 20, 2007 IP