1. Halo Guest, pastikan Anda selalu menaati peraturan forum sebelum mengirimkan post atau thread baru.

[ASK]Tidak bisa akses file .html

Discussion in 'Pemrograman Web' started by xpro99, Jun 23, 2014.

  1. xpro99

    xpro99 Banned

    Joined:
    Nov 5, 2013
    Messages:
    1,249
    Likes Received:
    113
    Location:
    /home/public_html
    Siang semuanya, mau nanya dikit nih, web saya ga bisa di akses karena file nya extensi .html itu knpa ya?

    saya upload data web nya, waktu diakses dari domain muncul warning

    -----------------------------------------------------------------------------------
    Not Found
    The requested URL /index.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    -----------------------------------------------------------------------------------

    Sedang file yg digunakan adalah index.html, sama juga klo mengakses langsung ke /index.html, /home.html, /about.html mesti muncul warning seperti diatas
    The requested URL /home.php was not found on this server.
    The requested URL /about.php was not found on this server.

    ada yang tau apa yg salah? Knp mesti pake extensi .php ya? adakah cara biar bisa akses file web nya extensi .html ?




    terima kasih,
     
  2. aldhy

    aldhy Hosting Group _ ▂ ▃ ▅ ▆ █

    Joined:
    Mar 17, 2013
    Messages:
    1,731
    Likes Received:
    104
    Location:
    Cirebon
    coba cek di file .htaccess nya
    kemungkinan saata akses file tersebut direditect ke index.php
     
  3. xpro99

    xpro99 Banned

    Joined:
    Nov 5, 2013
    Messages:
    1,249
    Likes Received:
    113
    Location:
    /home/public_html
    Ga ada htacces nya mas aldi, klo dbikin baru isi nya gmn ya mas biar ga default nyari .php?

    Sent from Galaxy ndga.me S3 using Tapatalk
     
  4. Vivekananda

    Vivekananda Ads.id Starter

    Joined:
    Dec 3, 2013
    Messages:
    76
    Likes Received:
    4
    Coba cari di google untuk pembuatan htaaccessnya gan
     
  5. mp3online

    mp3online Super Hero

    Joined:
    Jul 19, 2011
    Messages:
    2,228
    Likes Received:
    294
    Location:
    jakarta
    wah itu pasti force redirect *.html ke *.php
    tapi kok gak ada htaccessnya ya, redirect dari mana? itu servernya pake apache apa bukan?
    coba kalau file *.html nya direname jadi *.php gimana?
     
  6. mozillaxom

    mozillaxom Newbie

    Joined:
    Jun 24, 2010
    Messages:
    18
    Likes Received:
    0
    Default file .htaccess emang hidden bro, coba sewaktu mau masuk ke filemanager beri tanda centang *Show hidden Files untuk melihat file tersembunyi atau bisa bikin file baru dengan nama .htaccess
     

Share This Page