<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Вопрос по виртуальному хосту в apache (Debian SQ)]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=17790&amp;type=atom" />
	<updated>2011-11-02T10:34:32Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=17790</id>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос по виртуальному хосту в apache (Debian SQ)]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=222350#p222350" />
			<content type="html"><![CDATA[<p>На первом компе есть и на втором.<br />Они одинаковы тока на разных компах ну и с разным содержимым</p>]]></content>
			<author>
				<name><![CDATA[Eser]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8090</uri>
			</author>
			<updated>2011-11-02T10:34:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=222350#p222350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Вопрос по виртуальному хосту в apache (Debian SQ)]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=222348#p222348" />
			<content type="html"><![CDATA[<p>Дык директории на 1 компьютере</p>]]></content>
			<author>
				<name><![CDATA[Zhenjko]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17865</uri>
			</author>
			<updated>2011-11-02T10:30:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=222348#p222348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Вопрос по виртуальному хосту в apache (Debian SQ)]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=222332#p222332" />
			<content type="html"><![CDATA[<p>Есть два компа(один внешний IP, через роутер) на одном сайт №1, на втором сайт №2.<br />При вводе имени test.com пользователь попадает комп №1,<br />А при вводе test.test.com должен попадать на комп №2.<br />Домен 3-го уровня на внешнем DNS заведен.</p><p>На компе №1 прописываю настройки(где 192.168.1.8 ip компа №2):</p><div class="codebox"><pre><code>&lt;VirtualHost 192.168.1.8:80&gt;
    ServerName test.test.com
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www
    &lt;Directory /&gt;
        Options FollowSymLinks
        AllowOverride None
    &lt;/Directory&gt;
    &lt;Directory /var/www&gt;
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    &lt;/Directory&gt;

    ErrorLog /var/log/apache2/error.log

    LogLevel debug

    CustomLog /var/log/apache2/access.log combined
&lt;/VirtualHost&gt;</code></pre></div><p>Но отображается сайт №1.</p><p>Подскажите чего я не допонимаю.</p>]]></content>
			<author>
				<name><![CDATA[Eser]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8090</uri>
			</author>
			<updated>2011-11-02T09:50:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=222332#p222332</id>
		</entry>
</feed>
