Salut, Am o problema cu serverul de apache pe o masina cu gentoo. Pe server am instalat apache-2.2.11-r2 cu suport pentru vhosts, iar acestea sunt definite ceva genul: <VirtualHost exemplu.com> ServerAdmin webmas...@host.exemplu.com DocumentRoot /www/docs/host.exemplu.com ServerName host.exemplu.com ErrorLog logs/host.exemplu.com-error_log TransferLog logs/host.exemplu.com-access_log </VirtualHost>
<VirtualHost exemplu2.com> ServerAdmin webmas...@host.exemplu2.com DocumentRoot /www/docs/host.exemplu2.com ServerName host.exemplu2.com ErrorLog logs/host.exemplu2.com-error_log TransferLog logs/host.exemplu.com-access_log </VirtualHost> Problema este ca atunci cand incerc sa accesez http://www.exemplu.com ma arunca intr-o pagina care-mi afiseaza It works!, acest html este in cu totul alta locatie si anume /var/www/localhost/htdocs/index.html. Nu conteaza calea pe care o dau cand definesc pentru virtualhost, apache-ul imi afiseaza acel index.html de mai sus. _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug