Pozdrav, imam problem sa konfigurisanjem Apache2 servera, i to konkretno sa
virtuelnim hostovima... grrrrr... :izfrustriranismajli:
naime problem je sledeci imam par virtuelnih hostova i stalno dobijam warning tipa:
Kôd:
[warn] VirtualHost xxx:80 overlaps with VirtualHost xxx_neki_drugi:80, the first has precedence, perhaps you need a NameVirtualHost directive
dakle svaki Virtuelni host mi je u zasebnom konfig fajlu, i svi izgledaju ovako:
Kôd:
NameVirtualHost xxx:80
<VirtualHost*:80>
ServerName xxx
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
ProxyPass /test http://test_IP/test
ProxyPassReverse /testi http://test_IP/test
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
</VirtualHost>
Konfiguracija Virtuelnih hostova je ista samo se razlikuju ove dve linije:
Kôd:
ProxyPass /test http://test_IP/test
ProxyPassReverse /testi http://test_IP/test
Da li iko zna o cemu se ovde radi, ja sam postao malo zbunjen...
Hvala unapred...