----- Original Message ----- From: "dwi" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, July 12, 2005 11:22 PM Subject: Re: [BALInux] virtual web server
> > > -----Original Message----- > From: cadas <[EMAIL PROTECTED]> > To: [email protected] > Date: Tue, 12 Jul 2005 17:28:16 +0800 > Subject: Re: [BALInux] virtual web server > > > Goes Dwi wrote: > > > > >On Saturday 09 July 2005 00:49, cadas wrote: > > > > > > > > >>bagaimana sih konfigurasi virtual host untuk webserver? > > >> > > >>di httpd.conf saya masukin opsi ini > > >></VirtualHost> > > >><VirtualHost mrtg.stikom-bali.ac.id> > > >> DocumentRoot /var/www/mrtg > > >> ServerAdmin [EMAIL PROTECTED] > > >> ServerName mrtg.stikom-bali.ac.id > > >> ServerAlias mrtg > > >> DirectoryIndex index.html index.php index.htm index.shtml > > >></VirtualHost> > > >> > > >>yang benar bagaimana ya? > > >>klo service saya restart muncul error: > > >> > > >>#service httpd restart > > >>Stopping httpd: [ OK ] > > >>Starting httpd: [Sat Jul 09 14:47:24 2005] [warn] The Alias directive > > in > > >>/etc/httpd/conf/httpd.conf at line 378 will probably never match > > because > > >>it overlaps an earlier AliasMatch. > > >> [ OK ] > > >> > > >> > > > > > > Coba cek directive "Alias" atau "xxxAlias" di httpd.conf, kemungkinan > > ada > > >alias yang sama/kembar jadi overlaps. > > > > > >Atau kalo gak keberatan bisa paste disini isi httpd.conf, nanti kita > > lihat > > >sama2 dimana problem nya ;) > > >Salam, > > >Goes Dwi > > > > > > > > > > > ini pas bagian virtual > > VirtualHost cacti.stikom-bali.ac.id> > > DocumentRoot /var/www/cacti > > ServerAdmin [EMAIL PROTECTED] > > ServerName cacti.stikom-bali.ac.id > > ServerAlias cacti > > DirectoryIndex index.html index.htm index.shtml > > </VirtualHost> > > > > <VirtualHost mail.stikom-bali.ac.id> > > DocumentRoot /var/www/mail > > ServerAdmin [EMAIL PROTECTED] > > ServerName mail.stikom-bali.ac.id > > ServerAlias mail > > DirectoryIndex index.html index.htm index.shtml > > > > </VirtualHost> > > <VirtualHost mrtg.stikom-bali.ac.id> > > DocumentRoot /var/www/mrtg > > ServerAdmin [EMAIL PROTECTED] > > ServerName mrtg.stikom-bali.ac.id > > ServerAlias mrtg > > DirectoryIndex index.html index.htm index.shtml > > </VirtualHost> > > > > <VirtualHost omail.stikom-bali.ac.id> > > DocumentRoot /var/www/omail > > ServerAdmin [EMAIL PROTECTED] > > ServerName omail.stikom-bali.ac.id > > ServerAlias omail > > DirectoryIndex index.html index.htm index.shtml > > </VirtualHost> > > > > di dns server saya sudah menambahkan alias untuk masing2 host > > coba begini, konfigurasi minimal untuk menjalankan name based vhost misal > ip yang di binding ke web service 192.168.100.100 > > Port 192.168.100.100:80 > ServerName stikom-bali.ac.id > > NameVirtualHost 192.168.100.100 > > <VirtualHost 192.168.100.100> > DocumentRoot /var/www/cacti > ServerName cacti.stikom-bali.ac.id > ... <- diisi directive lain yang dibutuhkan > </VirtualHost> > > <VirtualHost 192.168.100.100> > DocumentRoot /var/www/mrtg > ServerName mrtg.stikom-bali.ac.id > ... <- diisi directive lain yang dibutuhkan > </VirtualHost> > > Salam, > Goes Dwi > > Ok's terima kasih. > > > > >>terima kasih semua > > >> > > >> > > >> > > >>Yahoo! Groups Links > > >> > > >> > > >> > > >> > > >> > > > > > > > > > > > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/balinux/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
