Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Server Onno W. Purbo Web server.

Similar presentations


Presentation on theme: "Web Server Onno W. Purbo Web server."— Presentation transcript:

1 Web Server Onno W. Purbo Onno@indo.net.id

2 Web server

3 Instalasi Web server # rpm –ivh apache-1.3.12.rpm

4 Konfigurasi httpd.conf srm.conf access.conf

5 httpd.conf ServerType – berdiri sendiri / manual inetd. ServerRoot – directory konfigurasi. PidFile – nomor proses ID ResourceConfig / AccessConfig TimeOut – batas waktu time out. KeepAlive – simultan koneksi dari satu IP. MaxKeepAliveRequest – max. keep alive. KeepAliveTimeOut

6 httpd.conf MinSpareServers & MaxSpareServers – jumlah server untuk server farm. StartServers – server di jalankan. MaxClients – jmlh koneksi simultan di server. MaxRequestsPerChild BindAddress – IP yang di tempelkan. Port – port yang di dengar Apache. User & Group – owner dari Apache Web. ServerAdmin – e-mail admin Web server.

7 httpd.conf ServerName – nama server. ErrorLog LogLevel – level emerg, alert, crit, errors. CustomLog – catat akses client & virtual host. ServerSignature – dikirim saat file tidak ada. UserCanonicalName HostnameLookups – catat hostname akses.

8 srm.conf DocumentRoot – directory root HTML. UserDir – public_html, http://server/~user. DirectoryIndex – index file. FancyIndexing AccessFileName -.htaccess Alias – alias directory khusus, cgi-bin DefaultType – Default tipe dokumen

9 access.conf Access Control File

10 access.conf Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks AllowOverride None Allow from all

11 Virtual host IP based Name based

12 Virtual Host – IP based DocumentRoot /path/to/document ServerName www.vhost1.com

13 Virtual Host – name based NameVirtualHost 192.168.0.128 DocumentRoot /path/to/document1 ServerName www.vhost1.com DocumentRoot /path/to/document2 ServerName www.vhost2.com

14 Konfigurasi Modul Apache # /usr/local/apache/bin/httpd –l Static Module LoadModule php4_module libexec/libphp4.so DSO (Dynamic Shared Object) AddModule mod_php4.c

15 Menjalankan Web Server # apachectl start # apachectl restart # apachectl –help http://nama_mesin http://nama_mesin:8000 http://192.168.0.1


Download ppt "Web Server Onno W. Purbo Web server."

Similar presentations


Ads by Google