Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: subdomains in apache virtualhost


  • Subject: lug-bg: subdomains in apache virtualhost
  • From: d_dura@email.domain.hidden (Daniel Duraliyski)
  • Date: Fri, 13 Jun 2003 03:00:10 -0700 (PDT)


Zdrawejte,

problema, kojto ne moga da resha e sledniq:

Imam name based virtualni hostove w apache i te si
rabotqt dobre, no kogato dojde wreme da se dobawqt
subdomains i te da so4at drugi direktorii razli4ni ot
tazi na osnowniq domaina se polu4i spomenatiq
problem.Uprawlqwam si sam DNS servera /bind/ syotwetno
tam moga da prawq kakwoto e nujno no apache otwarq
winagi osnowniq domain w spisyka. Dawam malka 4ast ot
httpd.conf koqto zasqga problema sys subdomains za da
stane po-qsno

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/mydomain.com
ServerName mydomain.com
ServerAlias www.mydomain.com mydomain.com
</VirtualHost>

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/a.mydomain.com
ServerName a.mydomain.com
</VirtualHost>

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/b.mydomain.com
ServerName b.mydomain.com
</VirtualHost>

bedata e tam 4e kojto i domain da se potyrsi /naprimer
a.mydomain.com ili b.mydomain.com/ winagi otwarq
pyrwiq /mydomain.com/

nqkoj ima li ideq kak da si resha problema

<p>__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.