httpd.conf:
NameVirtualHost 127.0.0.1:80....add to the end of httpd.conf: LoadModule caucho_module D: /resin-3.0.12/win32/apache-2.0/mod_caucho.dll (LoadModule caucho_module / usr / local / apache / modules /mod_caucho.so)ResInconfigserver localhost 6802cauchostatus yes
ServerAdmin wangqi@staff.chinabyte.com DocumentRoot d: / www1 (/ home / www1) ServerName test1.wangqi.com #ErrorLog logs / dummy-host.example.com-error_log #CustomLog logs / Dummy-host.example.com-access_log common virtualhost>
ServerAdmin wangqi@staff.chinabyte.com DocumentRoot d: / www2 (/ home / www2) ServerName test2.wangqi.com #ErrorLog logs / dummy-host.example.com-error_log #CustomLog logs / Dummy-host.example.com-access_log common virtualhost> ==================================== ==============================
Resin.conf: host> host> start apache..start resin .. / usr / local / apache / bin / apachectl start / usr / local / resin / bin / httpd.sh start