项目描述
通过指导实现apache和tomcat的完美整合,可以使用rewrite功能。报酬200RMB
【项目内容描述】
我用centos5.1来构建jsp服务器,现在在httpd.conf里面通过ajp来实现整合的
NameVirtualHost 192.168.13.103:80
<VirtualHost 192.168.13.103:80>
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/html"
ServerName localhost
ServerName 192.168.13.103
ProxyPass /links !
ProxyPass /images !
ProxyPass /css !
ProxyPass /js !
ProxyPass /phpmyadmin !
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
</VirtualHost>
整合好出现两个问题:
1、根目录下的php文件不能运行,但是通过ProxyPass /links ! 规则在子目录里可以运行php
2、最关键的是rewrite不能用了,请各位大侠帮忙解决下啊,多谢多谢!
httpd.conf里面rewrite的模块打开了
我的.htaccess文件如下,(在别的空间里面能用,现在自己服务器上通不过)
RewriteEngine On
RewriteRule user_([a-zA-Z_-]+).html user.jsp?name=$1
任务要求:
通过指导实现apache和tomcat的完美整合,可以使用rewrite功能。
输入http://192.168.13.103/user_user1.html,
就访问到http://192.168.13.103/user.jsp?name=user1,
【接包方必备的条件】
精通CENTOS5.1操作系统上的TOMCAT及APACHE配置 半桶水的不要耽误大家时间 2个半桶不等于一桶
【其他要求】
通过指导实现CENTOS5.1操作系统下apache和tomcat的整合,使得如下rewrite效果实现
输入http://192.168.13.103/user_user1.html,
就访问到http://192.168.13.103/user.jsp?name=user1
2 人竞标
| 竞标信息 | 竞标者 | 积分 | 总收入 | 竞标时间 |
| 竞标中 |
杭州众旅信息技术有限公司 |
640 |
¥0.00 |
2008-03-27 14:46:47 |
| 竞标中 |
xiamaimai |
80 |
¥0.00 |
2008-03-28 09:21:22 |
| |
|
|
|
|