找到Tomcat安装目录,打开conf里的server.xml
找到如下代码(大概71行),修改port值就可以,默认的是8080
<Connector port="80......
Apache Tomcat7.0 安装流程
第一步、下载Apache Tomcat/7.0.72
这里给一个下载地址:
http://download.csdn.net/detail/gorch/9645960
第二步、解压压缩包到某......
百度云主机两种web服务器的伪静态配置
如果不配置静态,会出现只能访问首页,其他页面都会404错误
Lighttpd
需要新建app.conf文件,粘贴以下代码,然后保存,放到网站根目录
handlers:
- url : ......
伪静态规则(for Nginx)
1、WordPress伪静态
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;......
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your req
报错:
Internal Server Error The server encountered an internal error or misconfiguration and was un......
web服务器去掉域名www的301重定向设置方法
是本文介绍web服务器301跳转方法,实现强制从www.liuyanzhao.com跳到liuyanzhao.com
一、空间的伪静态版本为ISAPI Rewrite 3.1,需要设置3......
配置本地的虚拟主机
我新建了一个项目,名Hello,位于:I:\wamp\www目录下。 想访问这个项目,需要在地址栏上输入localhost/hello,但是我不想这样,我想要在地址栏输入local.hello.com......
Tomcat 如何设置账号和密码
打开conf里的tomcat-users.xml
文件,在<tomcat-users></tomcat-users>中间插入
<role rolena......