Sziasztok,

sarge-rol etch-re valo frissites utan az apache 2.0-rol 2.2-re valtott.
ok, de a apache revproxy nem akar ugy mukodni ahogy eddig tette.
(ket hete kuzdok mar vele es kezd hullani tole a hajam.....)
A jelenseg az, hogy hmmm inkabb mutatok egy peldat:
a revproxy-s apacheon ez van:

NameVirtualHost a.b.c.d:80

<VirtualHost a.b.c.d:80>
    ServerAdmin [EMAIL PROTECTED]
    ServerName domain.hu
    ServerAlias www.domain.hu mail.domain.hu 
    DocumentRoot /var/www/
    ServerSignature On
    ProxyRequests off
    ProxyPass / http://127.0.0.1:92/
    ProxyPassReverse / http://127.0.0.1:92/
    ProxyPreserveHost On
    ErrorLog /var/log/apache2/domain.hu/error.log
    CustomLog /var/log/apache2/domain.hu/access.log combined
    LogLevel info
</VirtualHost>
modulok:headers,proxy_connect,proxy_http,proxy,rewrite,ssl

A 127.0.0.1:92 hallgaton pedig ez:

NameVirtualHost 127.0.0.1:92
<VirtualHost 127.0.0.1:92>
    ServerAdmin [EMAIL PROTECTED] 
    DocumentRoot /var/www/mail/
    ServerName mail.domain.hu 
    ServerSignature On
    ErrorLog /var/log/apache2/error.log
    CustomLog /var/log/apache2/access.log combined
    LogLevel debug
</VirtualHost>

<VirtualHost 127.0.0.1:92>
    ServerAdmin [EMAIL PROTECTED] 
    DocumentRoot /var/www/
    ServerName domain.hu 
    ServerAlias www.domain.hu 
    ServerSignature On
    ErrorLog /var/log/apache2/error.log
    CustomLog /var/log/apache2/access.log combined
    LogLevel debug
</VirtualHost>
modulok:auth_basic,authz_user,expires,setenvif,unique_id,
authn_file,autoindex,headers,mime_magic,php5,
authz_host,dir,mime,negotiation,rewrite,ssl



a baj az hogy a documentroot a mail.domain.hu lekerese utan 
/var/www/ marad es a www.domain.hu anayagat adja vissza. 

a furcsa az, hogyha a localhoston levo apacheot visszarakom 
a 2.0- apachera, es a configok
valtozatlanhagyasa utan nincs ilyen gond.
mit kene meg beallitanom, hogy jol mukodjon.
Hab a torran, hogy ha mindket apache 2.2-es, akkor a
localhoston levo apache access.log-ja ures marad.
ha jol sejtem valami modul is hianyozhat de nem talalom, hogy melyik.

Koszi a segitseget
zoli






_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz