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