IGOS Nusantara dan server web: Perbedaan revisi
Dari IGNwiki
(←Membuat halaman berisi 'Web Server yang banyak dipakai adalah Apache Web Server Pasang Apache # yum -y install httpd Jalankan # service httpd start Coba dengan browser, ketik: http://local…') |
|||
| (4 revisi antara oleh pengguna yang sama tidak ditampilkan) | |||
| Baris 1: | Baris 1: | ||
| − | Web Server yang banyak dipakai adalah Apache Web Server | + | Web Server yang banyak dipakai adalah Apache Web Server. |
| − | Pasang Apache | + | === Pasang Apache === |
# yum -y install httpd | # yum -y install httpd | ||
| − | Jalankan | + | === Ubah Konfigurasi === |
| + | Konfigurasi ada di berkas /etc/httpd/conf.d/welcome.conf | ||
| + | |||
| + | '''LAMA''' | ||
| + | <LocationMatch "^/+$"> | ||
| + | Options -Indexes | ||
| + | ErrorDocument 403 /error/noindex.html | ||
| + | </LocationMatch> | ||
| + | |||
| + | '''BARU''' | ||
| + | #<LocationMatch "^/+$"> | ||
| + | # Options -Indexes | ||
| + | # ErrorDocument 403 /error/noindex.html | ||
| + | #</LocationMatch> | ||
| + | |||
| + | === Jalankan === | ||
# service httpd start | # service httpd start | ||
| − | Coba | + | === Tes di peramban (browser) === |
| + | Coba langsung di komputer yang telah dipasang web server tersebut, gunakan browser, lalu ketik: | ||
http://localhost/ | http://localhost/ | ||
| + | |||
| + | Jika web server dipasang di server (Lihat skema jaringan: http://igos-nusantara.or.id/wiki/Skema_Jaringan ) | ||
| + | |||
| + | Ujicoba dari PC Client1 dilakukan dengan menjalankan browser, lalu ketik: | ||
| + | http://192.168.0.1/ | ||
Revisi terkini pada 7 April 2015 03.09
Web Server yang banyak dipakai adalah Apache Web Server.
Pasang Apache
# yum -y install httpd
Ubah Konfigurasi
Konfigurasi ada di berkas /etc/httpd/conf.d/welcome.conf
LAMA
<LocationMatch "^/+$"> Options -Indexes ErrorDocument 403 /error/noindex.html </LocationMatch>
BARU
#<LocationMatch "^/+$"> # Options -Indexes # ErrorDocument 403 /error/noindex.html #</LocationMatch>
Jalankan
# service httpd start
Tes di peramban (browser)
Coba langsung di komputer yang telah dipasang web server tersebut, gunakan browser, lalu ketik:
http://localhost/
Jika web server dipasang di server (Lihat skema jaringan: http://igos-nusantara.or.id/wiki/Skema_Jaringan )
Ujicoba dari PC Client1 dilakukan dengan menjalankan browser, lalu ketik:
http://192.168.0.1/