Niestety bez skutku.
Dodam tylko, że plik httpd.conf na początku był pusty (!).
Aktualnie wygląda to tak (adresy pozmieniane):
Kod: Zaznacz cały
NameVirtualHost 194.323.245.59
<VirtualHost 194.323.245.59>
ServerName ccr.pl
DocumentRoot /home/ccr.pl/public_html
ServerAdmin ja@mail.pl
</VirtualHost>
<VirtualHost 94.23.245.79>
ServerName amr.pl
DocumentRoot /home/amr.pl/public_html
ServerAdmin ja@mail.pl
</VirtualHost>
Wywala mi błąd 500 z notyfikacją:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
ja@mail.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny6 with Suhosin-Patch Server at amr.pl Port 80
Domena jest przekierowana na adres ip serwera i po wywołaniu jej (przed powyższymi zmianami), ukazywał się napis "It works!".
Proszę o jakieś podpowiedzi/rozwiązania.
-------------------------------------------------------------------------------
Poszło.
Dorzuciłem logi poprzez ErrorLog "/var/log/apache2/domena-error_log"
i okazało się, że [Thu Mar 18 21:55:20 2010] [alert] [client 844.255.181.212] /home/domain/public_html/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Wystarczyło dorzucenie do httpd.conf
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
Dzięki panowie za pomoc!
Pozdrawiam!