rianto isaac's Weblog

rianto utomo isaac sahala utomo

web server, mengalihkan halaman yang error

leave a comment »

– buka httpd.conf
– cari kata2 ‘ErrorDocument’
– tambahkan yang dibawah ini:
100 /missing.html
101 /missing.html
102 /missing.html
103 /missing.html
122 /missing.html
200 /missing.html
201 /missing.html
202 /missing.html
203 /missing.html
204 /missing.html
205 /missing.html
204 /missing.html
206 /missing.html
207 /missing.html
208 /missing.html
226 /missing.html
300 /missing.html
301 /missing.html
302 /missing.html
303 /missing.html
304 /missing.html
305 /missing.html
306 /missing.html
307 /missing.html
308 /missing.html
400 /missing.html
401 /missing.html
402 /missing.html
403 /missing.html
404 /missing.html
405 /missing.html
406 /missing.html
407 /missing.html
408 /missing.html
409 /missing.html
410 /missing.html
411 /missing.html
412 /missing.html
413 /missing.html
414 /missing.html
415 /missing.html
416 /missing.html
417 /missing.html
418 /missing.html
422 /missing.html
423 /missing.html
424 /missing.html
425 /missing.html
426 /missing.html
428 /missing.html
429 /missing.html
431 /missing.html
444 /missing.html
449 /missing.html
450 /missing.html
499 /missing.html
500 /missing.html
501 /missing.html
502 /missing.html
503 /missing.html
504 /missing.html
505 /missing.html
506 /missing.html
507 /missing.html
508 /missing.html
509 /missing.html
510 /missing.html
511 /missing.html
598 /missing.html
599 /missing.html
– buat file missing.html di root directory

selamat, sudah jadi..

contoh:
– masuk ke root direktori
– klik kanan pilih ‘new text documents’
– rename dokumen baru tersebut dengan nama ‘missing.html’
– buka file tersebut:
copy paste script dibawah ini:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
<html xmlns=”http://www.w3.org/1999/xhtml”&gt;
<head>
<meta HTTP-EQUIV=”REFRESH” content=”0; url=http://www.riantoutomo.web.id”><meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Index</title>
</head>
<body>
</body>
</html>

 

Written by isaaconi

Januari 19, 2012 pada 2:27 pm

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: