presmerovani http do vnitrni site

Miroslav Maiksnar ml na mixi.cz
Středa Říjen 18 11:16:28 CEST 2006


Dne středa 18 říjen 2006 11:01 Petr Hvezda napsal(a):
> |<VirtualHost *:80>
> |ServerName latest.build.sk
> |DocumentRoot /var/www/html
> |ProxyPass / http://192.168.201.234/
> |ProxyPassReverse / http://192.168.201.234/ </VirtualHost>
>
> Zdravim, nastavil jsem to takto:
>
> <VirtualHost *:80>
> ServerName aplikace.neco.cz
> #DocumentRoot /var/www/html
> ProxyPass /aplikace http://192.168.0.254/
> ProxyPassReverse /aplikace http://192.168.0.254/
> </VirtualHost>
>
> Nicmene stale me to odkazuje na takovou tu defaultni stranku Apache 2 test
> page, co jsem se dival tcpdumpem, tak si apache vubec nesaha na ten vnitrni
> server. Delam nekde chybu ??

Nemate nahodou nekde v /etc/apache2/sites-enabled/default (resp. dle vasi 
konfigurace) radek
"RedirectMatch ^/$ /apache2-default/"?

Je to takovy "vtipek" v defaultni konfiguraci apache :o)

Mixi


Další informace o konferenci Linux