BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / bbs-man-dev / #5431同步于 1 周前
BBSMan_Dev机器人发帖

请问apache和tomcat整合问题!

darling.
1 周前镜像同步0 回复
转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH 我把apache2和tomcat5.5整合起来了,现在我的web版bbs是放在/bbs/www下面,另外我的另一个网站放在/www下面,web版kbs是用php写的,网站是用jsp,现在基本整合成功,还有个问题没搞明白,在/etc/apache2/site-available/下面的default里面该怎么写呢,需要为网站重新再写个么?我现在是把两个东西都塞到default里面,但好像有问题的: /*/etc/apache2/site-available/default*/ NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot /bbs/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /bbs/www> Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all DirectoryIndex index.jsp index.php index.html index.htm # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place # RedirectMatch ^/$ /apache2-default/ </Directory> <Directory "/www"> Options FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> <Directory "/www/WEB-INF"> Order deny,allow Deny from all </Directory> 现在我把后面两段删除,重启apache和tomcat,一样可以运行。我是参考etony的文档做的
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。