0
두 가상 호스트를 만들었습니다. tester.ly 및 tucnak.me아파치 다중 사이트
/사이트-가능/연구소 :
<VirtualHost tucnak.me:80>
ServerAdmin [email protected]
ServerName tucnak.me
DocumentRoot /home/tucnak/Web/Lab/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/tucnak/Web/Lab/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
#... here smth skipped.
</VirtualHost>
그리고/사이트-가능/테스터 :
<VirtualHost tester.ly:80>
ServerAdmin [email protected]
ServerName tester.ly
DocumentRoot /home/tucnak/Web/Tester/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/tucnak/Web/Tester/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
# skipped too.
</VirtualHost>
그리고 내 아파치 출력 :
[Mon Feb 13 20:17:07 2012] [warn] VirtualHost tucnak.me:80 overlaps with VirtualHost tester.ly:80, the first has precedence, perhaps you need a NameVirtualHost directive
나는이 지시문을 잘못 쓰면이 문제가 발생한다고 생각합니다. 그래서 도움이 필요해.