Web Hosting Talk







View Full Version : hsphere, how do i get index.php to be default?


aixagent
06-18-2005, 02:34 PM
Hello, I'm currently using H-Sphere, and I want an index.php file to be the higher priority/default index file over a index.html file. When I remove the index.html file, I get a Directory Listing Denied.

Is there a way for me to configure it so that I can have my index.php be the default index file? Thank you.

Dan L
06-18-2005, 03:10 PM
In your .htaccess add DirectoryIndex index.php

aixagent
06-18-2005, 03:22 PM
Originally posted by DanX
In your .htaccess add DirectoryIndex index.php

that will work for windows hosting?

Chris_M
06-18-2005, 04:29 PM
hello, you should be able to do this from the control panel. Login and go to web options and scroll down to Directory indexes and add index.php as the first entry. That should fix you right up.
Hope this helps.

dynamicnet
06-19-2005, 10:10 AM
Greetings:

1. Please try the http://forum.psoft.net/ forum.

2. See http://www.psoft.net/HSdocumentation/user/manipulating_pages.html#directory_indexes

Thank you.

RN-David
06-20-2005, 01:57 AM
Follow the steps ResellerHQ outlined, that should do the job.