Re: [Linux-sunucu] Apache Virtual Host Ayarlama

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Hasan AHLATCI (ogrenci@ahlatci.net)
Date: Sat 19 Mar 2005 - 14:04:30 EET


Meraba

httpd.conf in içinde ayrı bir include işlemi gerçekleştiriyorsunuz sanırım.Ama bunun çokta önemi yok.
yapmanız gereken sadece b.com.tr yi tanımladığınız dosyanın içinde ki virtual host tanımı yaptığınız satırlada ufak bir değişiklik yapmanız.

örnek olarak virtualhost tanımı aşağıda var. sadece documentRoot kısmını değiştirip apache i yeniden başlatın.

 <VirtualHost * >
ServerName sizin_domaininiz.com
ServerAlias www.sizin_domaininiz.com
DocumentRoot /usr/local/www/sizin_domaininiz_ana_dizini
ErrorLog /usr/local/logs/sizin_domaininiz-error_log
CustomLog /usr/local/logs/sizin_domaininiz-access_log common
</VirtualHost>

  ----- Original Message -----
  From: Askin.Inci@tr.man-mn.com
  To: linux-sunucu@liste.linux.org.tr
  Sent: Saturday, March 19, 2005 1:07 PM
  Subject: [Linux-sunucu] Apache Virtual Host Ayarlama

  Merhabalar,

  Apache Web Server üzerinde iki tane Virtual Host tanımım var sorunsuz çalışıyor.

  a.com.tr ve b.a.com.tr

  ikiside ayrı document root lara sahip

  Benim yapmak istediğim b.a.com.tr nin Document root unu a.com.tr altında bir klasör olarak değiştirmek.

  Bunu http.d/sanalsunucu.conf dosyasında ilgili virtual host bölümünde gerçekleştirdim

  Apache'yi restart ettim fakat bu yaptığım değişiklik aktif hale gelmedi.

  (Not:Red Hat Advanced Server 3.0 üzerinde çalışmaktayım.)

  Bu yaptığım değişikliği nasıl aktif hale getirebilirim.

  Teşekkürler

  This message and any attachments are confidential and may be privileged or otherwise protected from disclosure.
  If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment
  from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the
  contents to any other person.

------------------------------------------------------------------------------

  _______________________________________________
  Linux-sunucu mailing list
  Linux-sunucu@liste.linux.org.tr
  http://liste.linux.org.tr/mailman/listinfo/linux-sunucu

_______________________________________________
Linux-sunucu mailing list
Linux-sunucu@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.