T thanhtamntp Verified User Joined Sep 30, 2009 Messages 13 Oct 29, 2009 #1 DA use index.html is default page. i want to change index.php?
smtalk Administrator Staff member Joined Aug 22, 2006 Messages 9,636 Location LT, EU Oct 29, 2009 #2 http://help.directadmin.com/item.php?id=278
scsi Verified User Joined Aug 19, 2008 Messages 4,539 Oct 29, 2009 #3 Just add .html as a valid php extension so you can process php stuff in it.
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 25,086 Location California Oct 30, 2009 #4 Gotta be a better way, scsi: if you do that all html files will be scanned by php before being served. That adds a lot of overhead. Better to use a post create script to move a php file into place. Jeff
Gotta be a better way, scsi: if you do that all html files will be scanned by php before being served. That adds a lot of overhead. Better to use a post create script to move a php file into place. Jeff
scsi Verified User Joined Aug 19, 2008 Messages 4,539 Oct 30, 2009 #5 Looks like from the guide that the reseller default directory is a skel type dir. So you can just put an index.php in there and I bet it should work.
Looks like from the guide that the reseller default directory is a skel type dir. So you can just put an index.php in there and I bet it should work.
T thanhtamntp Verified User Joined Sep 30, 2009 Messages 13 Nov 4, 2009 #6 smtalk said: http://help.directadmin.com/item.php?id=278 Click to expand... To change default page, i use .htaccess. Link help.... for reseller ^_^
smtalk said: http://help.directadmin.com/item.php?id=278 Click to expand... To change default page, i use .htaccess. Link help.... for reseller ^_^