The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

changing directoryaccess?

Discussion in 'General Discussion' started by tonomud, Apr 24, 2003.

  1. tonomud

    tonomud Registered

    Joined:
    Apr 24, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    How do I enable my account to recognize index.php files as the DirectoryIndex, i.e., the file that is displayed when a directory address is entered in the address bar?

    When this is entered: http://www.mydomain.com,
    I want this file to be displayed:
    http://www.mydomain.com/index.php

    I've looked at a CPanel demo, but I don't see this anywhere.

    Do I need to use .htaccess? And would I need to use it for every directory? I don't know that I have access to my httpd.conf file.

    Thanks
     
  2. SoftmegUK

    SoftmegUK Well-Known Member

    Joined:
    Feb 13, 2002
    Messages:
    372
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    Yeah, just use a .htaccess and place it in your main folder (public_html or www) and it should work for every folder deep from that...
     
Loading...

Share This Page