Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2003
    Location
    New Zealand
    Posts
    7

    Ways to configure a Directory Index?

    I want to configure one of my directories to automatically default to not the index.php file, but .htaccess files are not allowed, and index.html doesn't have precedence of index.php (which I can't redirect from because it is being used still). So what other ways can I redirect to the other page?

    ps: It's in a sub directory, so at the moment I can have the root of my site with an index page using a meta refresh tag to redirect where I want to go, (/directory/notindex.php) but what about the /directory/ folder Document Index?

  2. #2
    You can edit the virtual directory section for the domain in httpd.conf

    Also what do you mean by /directory/ document index?
    ••• Like us on Facebook to qualify for discounts! •••
    ••• http://www.sprintserve.net •••
    ••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
    ••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

  3. #3
    Join Date
    Aug 2003
    Location
    New Zealand
    Posts
    7
    Being hosted by someone else, I don't have access to httpd.conf .

    And by /directory/ document index, I was referring to a directory below root eg www.blabla.com/foo/ where foo is the directory I need to change the index for.

  4. #4
    Since you are being hosted, and they don't allow .htaccess and you don't have access to their httpd.conf, the only way is to contact your host for help. Noone else can help
    ••• Like us on Facebook to qualify for discounts! •••
    ••• http://www.sprintserve.net •••
    ••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
    ••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

  5. #5
    Join Date
    May 2002
    Posts
    441
    Can't you just put an index.php file in the directory with a header redirect to the page or an index.html file in the directory with a meta refresh to the file of your choice?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •