对,多写几个就行了
<VirtualHost 10.1.3.138>
ServerAdmin [email protected]
DocumentRoot "D:/JSP/webdocs/"
ServerName www.abc.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost><VirtualHost 10.1.3.138>
ServerAdmin [email protected]
DocumentRoot "D:/JSP/webdocs1/"
ServerName www.abc1.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost><VirtualHost 10.1.3.138>
ServerAdmin [email protected]
DocumentRoot "D:/JSP/webdocs2/"
ServerName www.abc2.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
<VirtualHost 10.1.3.138>
ServerAdmin [email protected]
DocumentRoot "D:/JSP/webdocs/"
ServerName www.abc.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost><VirtualHost 10.1.3.138>
ServerAdmin [email protected]
DocumentRoot "D:/JSP/webdocs1/"
ServerName www.abc1.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost><VirtualHost 10.1.3.138>
ServerAdmin [email protected]
DocumentRoot "D:/JSP/webdocs2/"
ServerName www.abc2.net
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
解决方案 »
- 急!用JFreeChart生成图形后怎样让其在jsp页面中显示出来?
- LookupDispathAction使用问题!!!!郁闷,请指点
- 求救:jsp页面中找不到对应的值
- 问个最菜最菜的问题。JAVA 的WEB开发是什么,是人们所说的JSP吗?
- servlet生命周期
- 请求支持,高手帮我看看这是什么错误,应该怎么解决
- 请高手进来,UTF-8的问题~
- 【分享】Jsp&Servlet入门级项目全程实录完整版
- 请大伙帮忙,我的两个表中有相同的字段name 请问我查询后怎样提取字段的值?
- 在线等待:如何让jsp中的javascript取得jsp的变量?
- [讨论]如何解决多个用户同时对一条数据进行操作的问题
- 未结束的字符串常量错误
我用的是Apache2.0.48 Tomcat4.1.29 mod_jk2-2.0.43.dll j2sdk1.4.1_02整好后JSP能用了,但PHP用不起来了(整合之前PHP是能用的),然后把apache中的httpd.conf中最后整合时加入的
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
<VirtualHost 127.0.0.1> ServerAdmin [email protected] DocumentRoot "C:/Program Files/Apache Group/Tomcat 4.1/webapps"
ServerName dummy-host.example.com DirectoryIndex index.htm index.html index.jsp ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common </VirtualHost>
删掉然后分别重起apache tomcat 后php又能用了,可jsp不能用了!大家帮忙看看我可能什么地方出错了?