b1naryc0de 1 Report post Posted June 19, 2005 (edited) Aku baru try host webserver guna pc sendiri tadi.. Aku berjaya run apache dan php kat localhost dan internet(guna no-ip.com).. Aku guna apache2 dan php 4.3.11.. Soalan aku.. Macammana nak set supaya biler kita taip localhost atau 127.0.0.1 atau mydns.no-ip.info dia terus bukak /index.php.. sebab kebiasaannya dia akan bukak index.html.. tapi aku nak ganti index.html tu kepada index.php.. Edited June 19, 2005 by b1naryc0de Quote Share this post Link to post Share on other sites
b1naryc0de 1 Report post Posted June 19, 2005 Hehe.. Aku dah jumpa mane nak configure: /etc/apache2/conf/commonapache2.confAku tukar kat bahagian nie:<IfModule mod_dir.c> DirectoryIndex index.php index.html index.html.var index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm</IfModule>Sebelum nie index.php terletak selepas index.html.var..Dalam directory localhost tue ada fail index.html.var.. Aku guna default directory /var/www/localhost/htdocs..Aku tengok index.html ada sebelum index.html.var jadi aku pon assume lah priority directory index ni start dari kiri jadi aku pindahkan index.php sebelum index.html.. Dan yeah!! Berjaya!!Hehe.. bolehlah tido dengan tenang.. Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted June 20, 2005 pandai pun.. Quote Share this post Link to post Share on other sites
eci 0 Report post Posted June 21, 2005 Hehe.. Aku dah jumpa mane nak configure: /etc/apache2/conf/commonapache2.confAku tukar kat bahagian nie:Sebelum nie index.php terletak selepas index.html.var..Dalam directory localhost tue ada fail index.html.var.. Aku guna default directory /var/www/localhost/htdocs..Aku tengok index.html ada sebelum index.html.var jadi aku pon assume lah priority directory index ni start dari kiri jadi aku pindahkan index.php sebelum index.html.. Dan yeah!! Berjaya!!Hehe.. bolehlah tido dengan tenang.. ←Tahniah... Quote Share this post Link to post Share on other sites
sharuzzaman 1 Report post Posted June 21, 2005 Bagus!! Quote Share this post Link to post Share on other sites
b1naryc0de 1 Report post Posted June 21, 2005 Hehe... mekasih!! Tapi kene fikir cara nak stabilkan pc aku lak.. Kureng stabil skrg nie.. tak tahan lasak.. Quote Share this post Link to post Share on other sites