pixeltrace Posted August 15, 2007 Share Posted August 15, 2007 hi, i am currently testing something and i renamed my index.php to index.php how do i add in linux or apache index1.php so when i access the test site www.domain.com it will point to index1.php and not index.php how to do this? hope you could help me with this. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/64984-how-to-add-index1php/ Share on other sites More sharing options...
keeB Posted August 15, 2007 Share Posted August 15, 2007 I'm pretty sure what you're looking for can be found in: httpd.conf , and if don't have access to this (like you're on shared hosting,) you may be able to do it in an .htaccess Quote Link to comment https://forums.phpfreaks.com/topic/64984-how-to-add-index1php/#findComment-324330 Share on other sites More sharing options...
pixeltrace Posted August 15, 2007 Author Share Posted August 15, 2007 how to do it in .htaccess? thanks! Quote Link to comment https://forums.phpfreaks.com/topic/64984-how-to-add-index1php/#findComment-324346 Share on other sites More sharing options...
trq Posted August 15, 2007 Share Posted August 15, 2007 Add the following line.... DirectoryIndex index1.php Quote Link to comment https://forums.phpfreaks.com/topic/64984-how-to-add-index1php/#findComment-324510 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.