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

2 Web server

3 Instalasi Web server # rpm –ivh apache 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 – 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, 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

13 Virtual Host – name based NameVirtualHost DocumentRoot /path/to/document1 ServerName DocumentRoot /path/to/document2 ServerName

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


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

Similar presentations


Ads by Google