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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

RE: lug-bg: subdomains in apache virtualhost


  • Subject: RE: lug-bg: subdomains in apache virtualhost
  • From: z@email.domain.hidden (Zhasmin Zhelev)
  • Date: Fri, 13 Jun 2003 14:01:37 +0300


Pri men e podobna configuraciqta I raboti, s izkluchenie che nqmam
ServerAlias a pyrviq virtual host, no vse pak si mislq che greshkata e v
<VirtualHost 127.0.0.1>
Bi btqbvalo da e neshto ot sorta
<VirtualHost *> - vseki interface ili IP-ot koeto da moje da se vika v
protiven sluchai samo ot lokalnata mashina shte ti bachka. No sega vzema
dannite ot 
DocumentRoot "/var/www/htdocs" koeto ne ti e virtualno a e neide iz
nachaloto na configa

-----Original Message-----
From: owner-lug-bg_at_linux-bulgaria.org
[mailto:owner-lug-bg_at_linux-bulgaria.org] On Behalf Of Daniel Duraliyski
Sent: Friday, June 13, 2003 1:00 PM
To: lug-bg_at_linux-bulgaria.org
Subject: lug-bg: subdomains in apache virtualhost

<p>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
========================================================================
====

============================================================================
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.