在Ubuntu机器上搭建Tomcat和Regain服务器的过程

来源:互联网 发布:网络实名制 编辑:程序博客网 时间:2024/05/02 00:31

1.首先下载Tomcat和regain压缩包

2.解压regain包到tomcat路径中

修改配置文件即可

 

遇到的问题

1.搜索中文问题

<Connector port="80" protocol="HTTP/1.1" 

               connectionTimeout="20000" 

               redirectPort="8443"  URIEncoding="utf-8"/>

需要添加这个项目

 

2.默认的首页跳转问题

 

<html>

<head>

<meta http-equiv="Content-Language" content="zh-CN">

<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">

<meta http-equiv="refresh" content="0.1;url=regain">

<title></title>

</head>

<body>

</body>

</html>

原创粉丝点击