随笔分类 -  Web服务器

摘要:Rewirte主要的功能就是实现URL的跳转,它的正则表达式是基于Perl语言。可基于服务器级的(httpd.conf)和目录级的 (.htaccess)两种方式。如果要想用到rewrite模块,必须先安装或加载rewrite模块。方法有两种一种是编译apache的时候就直接 安装rewrite模块... 阅读全文
posted @ 2015-07-10 11:46 lixiaojin 阅读(272) 评论(0) 推荐(0) 编辑
摘要:#DocumentRoot /文件夹/ ServerName XXXX.com RewriteEngine on RewriteRule ^(.*)$ http://www.XXXX.cn$1 [R=301,L] 阅读全文
posted @ 2013-10-23 11:23 lixiaojin 阅读(208) 评论(0) 推荐(0) 编辑
摘要:1、首先查看错误日志 /var/log/message看看具体问题。如果一时难以判定直接使用下面一招2、直接中断http服务,killall -9 httpd, 然后重启http,service httpd restart; 阅读全文
posted @ 2013-09-25 09:12 lixiaojin 阅读(2208) 评论(0) 推荐(0) 编辑
摘要:Microsoft IIS 7.0 and later This section contains instructions for manually setting up Internet Information Services (IIS) 7.0 and later to work with PHP on Microsoft Windows Vista SP1, Windows 7, Windows Server 2008 and Windows Server 2008 R2. For instructions on setting up IIS 5.1 and IIS 6.0 on W 阅读全文
posted @ 2012-07-04 11:34 lixiaojin 阅读(826) 评论(0) 推荐(0) 编辑
摘要:昨天我维护的服务器出问题了,因为重新安装了杀毒软件,装完后第二天发现所有的ASP动态网页都无法打开,显示HTTP500错误。开始认为是有人搞了,查看日志没有太多操作,搜索百度大部分是说iwam账号在active directory、iis metabase数据库和com+应用程序三处的密码错误造成了HTTP 500内部的错误。同步密码后没有解决。在博客园找到一篇文章说杀毒软件对脚本监控,需要重新注册脚本。运行regsvr32 jscript.dll(命令功能:修复Java动态链接库) 和 regsvr32 vbscript.dll(命令功能:修复VB动态链接库) 重新注册JAVA脚本和VB脚本 阅读全文
posted @ 2011-11-25 09:20 lixiaojin 阅读(192) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示