internet信息服务无法删除的解决方法
internet信息服务(iis)无法删除的解决方法:
1、进入控制面板;
2、然后点击添加删除程序;
3、接着点击“添加/删除windows组件”;
4、点击“internet信息服务(iis)”,呈现蓝色显示;
5、接着点击下方的“详细信息”按钮,将会弹出“internet信息服务(iis)”菜单,显示里面有7个选项。从下到上先把最下面一个选项的勾去掉,接着点击下一步,然后就会自动删除本项目;重复上一步,依次把一个一个项目删除,则internet信息服务(iis)就彻底卸载完成了!
6、如果在删除以上的项目中仍出现无法删除的情况,则先进行以下的操作:
(1)删除%windir%system32inetsrv目录;
(2)删除%windir%iisx.log文件(x是iis版本);
(3)删除%windir%inetpub目录;
(4)以上3个操作可以在安全模式下进行,然后再进行以上第5步的操作。
一般情况下,重装iis的步骤为:
1、卸载iis;
2、删除%windir%system32inetsrv目录;
3、删除%windir%iisx.log文件(x是iis版本);
4、删除%windir%inetpub目录;
5、重装iis。
有些2003系统的iis按如上设置就是不行,下面的方法虽然可以,但返回的状态码却是200:
把消息内容设置成 url
url里填写 /404.htm
再把 404.htm 放在网站根目录下。
直接修改默认的404页面也是不行的。
原来是文件访问权限的问题,只要把404.htm设置成everyone可读 就行了
iis中404设置方法
打开iis管理器-->右击网站的属性-->点击自定义错误选项-->选中404-->选中并打开编辑属性-->设置成 url --> url 里填写"/www.111cn.net.html"-->此处在"消息类型"中一定要选择"文件"或"默认值",而不要选择"url",不然,将导致返回"200"状态码。-->确定退出把做好的err.html 页面上传到网站根目录
http404对seo教程的影响
自定义404错误页面对搜索引擎而言,这则是相当重要的。
当搜索引擎蜘蛛在请求某个url时得到"404′状态回应时,即知道该url已经失效,便不再索引该网页,并向数据中心反馈将该url表示的网页从索引数据库教程中删除,当然,删除过程有可能需要很长时间;而当搜索引擎得到"200′状态回应时,则会认为该url是有效的,便会去索引,并会将其收录到索引数据库,这样的结果便是这两个不同的url具有完全相同的内容:自定义404错误页面的内容,这会导致出现复制网页问题。对搜索引擎而言,特别是google,不但很难获得信任指数trustrank,也会大大降低google对网站质量的评定。(为什么会出现返回"200′状态码的情况??请参看下面内容"自定义404错误页面的基本原则")
提供几个404是否设计正确方法检测地址
http://seo.g2soft.net/online-tools/server_status_checker.php#result
http://www.ranknow.cn/tools/checkhttpcode404
bind 9的配置方法
/etc/named.conf
options {
directory "/var/named";
};
# named.root is available at ftp://ftp.internic.net/domain/named.root
zone "." in {
type hint;
file "named.root";
};
# here is zone for domain ustrem.org
zone "ustrem.org" in {
type master;
file "ustrem.org";
allow-transfer { none; };
allow-update { none; };
};
# here is reverse zone zone for net 192.168.2.0/255.255.255.0
zone "2.168.192.in-addr.arpa" {
type master;
file "loc";
allow-update { none; };
};
----------------------------------------------------
here is ustrem.org's zone file
-----------------------------
/var/named/ustrem.org
$origin .
$ttl 86400 ; 1 day
ustrem.org in soa pns.ustrem.org. onzi.ustrem.org. (
# onzi.ustrem.org is email for contacts (onzi_at_ustrem_dot_org)
2006083102 ; serial
# this is stamp for date and time and number of day change
3600 ; refresh (8 hours)
1800 ; retry (4 hours)
86400 ; expire (5 weeks 6 days 16 hours)
3600 ; minimum (1 day)
)
ns pns.ustrem.org.
ns ns1.xname.org.
# ns records for domain
a 213.240.243.12
# this line shows "ustrem.org" is with ip 213.240.243.12
mx 10 mail.ustrem.org.
# here is smtp server which received mails for ustrem.org
txt "v=spf1 mx a:mail.b-trust.org a:mailrelay.bsbg.net -all"
# this is text record for prevent from spammers and spoofers. here is smtp-s which sends emails from ustrem.org
$origin ustrem.org.
* a 213.240.243.12
# some-does-not-described.ustrem.org is with ip 213.240.243.12
bobi a 213.240.227.125
pns a 213.240.243.12
*.bobi cname bobi.ustrem.org.
boiko a 84.238.128.65
george a 213.240.242.107
laptoper4e a 192.168.2.18
mitkosipc a 192.168.2.4
pi-server a 192.168.2.15
pz a 217.10.245.249
router a 192.168.2.24
----------------------------------------------------------------------------------
here is reverse resolv
---------------------------------------------
/var/named/loc
$origin .
$ttl 86400 ; 1 day
2.168.192.in-addr.arpa in soa pns.ustrem.org. onzi.ustrem.org. (
2006080302 ; serial
28800 ; refresh (8 hours)
14400 ; retry (4 hours)
3600000 ; expire (5 weeks 6 days 16 hours)
86400 ; minimum (1 day)
)
ns pns.ustrem.org.
ns sns.ustrem.org.
$origin 2.168.192.in-addr.arpa.
4 ptr mitkosipc.ustrem.org.
18 ptr laptoper4e.ustrem.org.
15 ptr pi-server.ustrem.org.
24 ptr router.ustrem.org.
---------------------------------------------
this is enougt for bind9 to work.
now you can start and test it....
# dig ustrem.org @127.0.0.1
;; question section:
;ustrem.org. in a
;; answer section:
ustrem.org. 86400 in a 213.240.243.12
# dig ustrem.org @127.0.0.1 mx
;; question section:
;ustrem.org. in mx
;; answer section:
ustrem.org. 86400 in mx 10 mail.ustrem.org.
# dig -x 192.168.2.4 @127.0.0.1
;; question section:
;4.2.168.192.in-addr.arpa. in ptr
;; answer section:
4.2.168.192.in-addr.arpa. 86400 in ptr mitkosipc.ustrem.org.
要让iis支持wap需增加
在mime map部分,点击file type并且输入以下信息:
associated extension mime type
wml text/vnd.wap.wml
wmlc application/vnd.wap.wmlc
wbmp image/vnd.wap.wbmp
wmlsc application/vnd.wap.wmlscriptc
wmls text/vnd.wap.wmlscript
wsc application/vnd.wap/wmlscriptc
mime属性。
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>向编辑器插入指定 并设置编辑器中内容</title>
<script>
//向编辑器插入指定代码
function inserthtmltoeditor(codestr){
var oeditor = fckeditorapi.getinstance("content");
if (oeditor.editmode==fck_editmode_wysiwyg){
oeditor.inserthtml(codestr);
}else{
return false;
}
}//设置编辑器中内容
function setcontents(codestr){
var oeditor = fckeditorapi.getinstance("content") ;
oeditor.sethtml(codestr) ;
}
</script>
</head><body>
</body>
</html>
相关文章
- 下面小编来给大家演示几个php操作zip文件的实例,我们可以读取zip包中指定文件与删除zip包中指定文件,下面来给大这介绍一下。 从zip压缩文件中提取文件 代...2016-11-25
php 中file_get_contents超时问题的解决方法
file_get_contents超时我知道最多的原因就是你机器访问远程机器过慢,导致php脚本超时了,但也有其它很多原因,下面我来总结file_get_contents超时问题的解决方法总结。...2016-11-25- 相信很多站长都遇到过这样一个问题,访问页面时出现408错误,下面一聚教程网将为大家介绍408错误出现的原因以及408错误的解决办法。 HTTP 408错误出现原因: HTT...2017-01-22
- 复制代码 代码如下: <td> <a href="/member/life/edit_ppt/<?php echo $v->id;?>" class="btn">编辑</a> <a href="javascript:;" onclick="if(confirm('您确定删除这条记录?')){location.href='/member/life/d...2014-06-07
安卓手机wifi打不开修复教程,安卓手机wifi打不开解决方法
手机wifi打不开?让小编来告诉你如何解决。还不知道的朋友快来看看。 手机wifi是现在生活中最常用的手机功能,但是遇到手机wifi打不开的情况该怎么办呢?如果手机wifi...2016-12-21- 最近想自学PHP ,做了个验证码,但不知道怎么搞的,总出现一个如下图的小红叉,但验证码就是显示不出来,原因如下 未修改之前,出现如下错误; (1)修改步骤如下,原因如下,原因是apache权限没开, (2)点击打开php.int., 搜索extension=ph...2013-10-04
连接MySql速度慢的解决方法(skip-name-resolve)
最近在Linux服务器上安装MySql5后,本地使用客户端连MySql速度超慢,本地程序连接也超慢。 解决方法:在配置文件my.cnf的[mysqld]下加入skip-name-resolve。原因是默认安装的MySql开启了DNS的反向解析。如果禁用的话就不能...2015-10-21- 伪造跨站请求介绍伪造跨站请求比较难以防范,而且危害巨大,攻击者可以通过这种方式恶作剧,发spam信息,删除数据等等。...2013-10-01
总结android studio注意事项及打不开等问题解决方法
经过一段时间的使用,总结了android studio打不开等问题的6种解决方法及android studio注意事项,希望对大家有所帮助。 1 首次运行,建立好项目需要下载一些东西,如果...2016-09-20Centos中彻底删除Mysql(rpm、yum安装的情况)
我用的centos6,mysql让我整出了各种问题,我想重装一个全新的mysql,yum remove mysql-server mysql之后再install并不能得到一个干净的mysql,原来的/etc/my.cnf依然没变,datadir里面的数据已没有任何变化,手动删除/etc/my.cn...2015-03-15MySQL ERROR 2013 (HY000)错误解决方法
当通过 TCP/IP 连接 MySQL 远程主机时,出现 ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 104 。如果是在linux shell命令行中直接打 mysql 命令,...2015-03-15- 数据库中的数据删除会分为两种:物理删除 和 逻辑删除,接下来通过本文给大家介绍MyBatis-Plus的物理删除和逻辑删除使用场景分析,感兴趣的朋友一起看看吧...2021-09-25
IE6-IE9中tbody的innerHTML不能赋值的解决方法
IE6-IE9中tbody的innerHTML不能赋值,重现代码如下 复制代码 代码如下: <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>IE6-IE9中tbody的innerHTML不能复制bug</title> </head> <body style="height:3...2014-06-07- centos6.2,停止mysqld然后修改/etc/my.cnf datadir的位置,启动mysqld提示FAILED,查看日志 复制代码 代码如下: 120609 11:31:31 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended 120609 11:35:12 my...2015-03-15
Photoshop提示“此产品的许可证已过期"及“无法开始您的Adobe Photoshop CS5.1 订阅”解决方法
首先不要鄙视我用Photoshop盗版,实在是贵。现在我们来看看如果你的Photoshop提示“此产品的许可证已过期",还有“无法开始您的Adobe Photoshop CS5.1 订阅”如何解决吧...2016-09-14- 小米手机如果想要刷机就必须要先解锁验证才可以,那么,如果遇到小米解锁验证失败以及小米解锁工具登录失败的现象怎么办呢?对此,本文就为大家进行解答,有需要的朋友来看看。...2016-12-21
- 最近由于项目的需要,需要动态的添加和删除table中的tr,感觉用JS可以实现,但是在网上找了一下,单纯的自己写JS,感觉太麻烦,而且也不好维护。于是想到了最近学的jQuery。这篇文章给大家用实例介绍了jQuery动态添加与删除tr行的方法,有需要的朋友们可以参考借鉴。...2016-10-20
- 这篇文章主要介绍了mybatis-plus getOne和逻辑删除,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下...2020-08-26
- 今天小编在这里就来给各位photoshop的这一款软件的使用者们来详细的说一下软件的字体出现了乱码这一问题的解决方法,那么各位有出现这个问题的,下面就来跟着小编一起看...2016-09-14
- 这篇文章主要介绍了C# 复制与删除文件的实现方法的相关资料,希望通过本文能帮助到大家,让大家理解掌握这部分内容,需要的朋友可以参考下...2020-06-25