![]() |
|
|
|
|
|||||||
| Shared Hosting Do you have questions about HostICan's Base-Host or Tera-Host shared plans? Please ask them here! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
As a shared hosting customer, I need all of my sites to default to index.html rather than to index.php if I have an index.html page in a directory.
How do I get apache to do this?
|
|
#2
|
||||
|
||||
|
Sure, thats quite possible (place the below into your .htaccess file):
DirectoryIndex index.html
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
![]() |
| Tags |
| apache, change |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing file names + SSH port change | kursed | Virtual Private Servers (VPS) | 6 | 03-14-2008 11:03 PM |
| How to: Change PHP Modes and Versions | lnxcode | Virtual Private Servers (VPS) | 3 | 02-08-2008 06:04 PM |
| Apache-WHM Parsing Error (1 change per session) | marcOpolo | Virtual Private Servers (VPS) | 0 | 01-29-2008 08:26 PM |
| Apache Manual? Why? | Scott | The Lounge | 5 | 01-16-2008 08:22 PM |
| How To: Change SSH Port | lnxcode | Virtual Private Servers (VPS) | 14 | 11-24-2007 08:06 PM |