Pogledajte određenu poruku
Staro 09. 10. 2007.   #1
LiquidBrain
Milan Cvejic
Wrote a book
 
Avatar LiquidBrain
 
Datum učlanjenja: 05.09.2006
Lokacija: Beograd
Poruke: 1.241
Hvala: 32
73 "Hvala" u 56 poruka
LiquidBrain će postati "faca" uskoro
Pošaljite poruku preko Yahoo za LiquidBrain
Question Apache NameVirtualHost problem....

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...
__________________
http://weevify.com
LiquidBrain je offline   Odgovorite uz citat