Results 1 to 5 of 5
-
09-16-2003, 04:53 PM #1Newbie
- 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?
-
09-17-2003, 04:41 AM #2Retired Moderator
- Join Date
- Jan 2003
- Posts
- 9,049
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 | •••
-
09-18-2003, 09:36 PM #3Newbie
- 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.
-
09-18-2003, 09:46 PM #4Retired Moderator
- Join Date
- Jan 2003
- Posts
- 9,049
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 | •••
-
09-18-2003, 09:51 PM #5Aspiring Evangelist
- 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?