Coba setting via yast aja mas. pasti lebih mudah :) 2008/9/6 Kang Sugy <[EMAIL PROTECTED]>: > > > saya punya masalah mohon pencerahannya: > biasanya kalau membuat virtual host berbasis IP saya belum pernah mengalami > masalah ini, namun kemarin sudah berusaha mengoprek satu server berkali-kali > tetap belum terpecahkan. Saya punya satu server. Web utamanya adalah > www.A.com yang dir rootnya di /srv/www/htdocs. Maunya adalah ditambah dua > virtual yaitu xx.A.com dan yy.A.com. KOnfigurasi virtual host sudah saya > letakkan di dir /etc/apache2/vhost.d dengan nama xx.conf dan yy.conf. Anehnya > kalau virtual host saya jalankan, selalu saja ketika dipanggil ke salah satu > host selalu larinya ke satu virtual host tersebut, web utamanaya juga sellau > redirect ke virtual host tsb. jadi ketika memanggil www.A.com selalu ke > xx.A.com begitu juga ketika memanggil yy.A.com. Apa yang salah ya? ini saya > cuplikkan konfigurasi di listen.conf dan xx.conf > =============listen.conf======== > Listen 80 > <IfDefine SSL> > <IfDefine !NOSSL> > <IfModule mod_ssl.c> > > Listen 443 > > </IfModule> > </IfDefine> > </IfDefine> > NameVirtualHost *:80 > =============akhir listen.conf======== > > =============xx.conf======== > <VirtualHost *:80> > ServerAdmin [EMAIL PROTECTED] > ServerName xx.A.com > > DocumentRoot /home/xx/public_html > > ErrorLog /var/log/apache2/xx.A.com-error_log > CustomLog /var/log/apache2/xx.A.com-access_log combined > > HostnameLookups Off > > UseCanonicalName Off > > ServerSignature On > > ScriptAlias /cgi-bin/ "/home/xx/public_html/cgi-bin/" > <Directory "/home/xx/public_html/cgi-bin/"> > AllowOverride None > Options +ExecCGI -Includes > Order allow,deny > Allow from all > </Directory> > > <IfModule mod_userdir.c> > > UserDir public_html > > Include /etc/apache2/mod_userdir.conf > > </IfModule> > > <Directory "/home/xx/public_html/"> > > Options None > > AllowOverride None > Order allow,deny > Allow from all > > </Directory> > > </VirtualHost> > =========================== > > > > _______________________________________________ > milis mailing list > [email protected] > http://lists.opensuse-id.org/listinfo.cgi/milis-opensuse-id.org >
-- regard'z wiedhodho ************************************************* mail : [EMAIL PROTECTED] [EMAIL PROTECTED] homepage : http://www.wiedhodho.web.id Webhosting : http://www.fastindohost.com ************************************************* _______________________________________________ milis mailing list [email protected] http://lists.opensuse-id.org/listinfo.cgi/milis-opensuse-id.org
