免费FTP工具软件列表

       无论是我们写博客还做网站,FTP工具是不可缺少的,于是收集了一下国内免费FTP工具国外免费FTP工具供大家查找。这些都是一些免费的软件,当然也没有版权之类的困扰(即使有也不用怕,咱们都心知肚明就可以,当然,我自己用的是FlashFXP仿正版(嘿嘿)。下面这些Ftp工具,有几个我是用uode像Gopftp和filezilla,其他的 都没有用过,不过都列写出了介绍,大家不仿根据自己的需要选择一款合适自己的来用。
        1,GopFtp 是一个集成了众多FTP客户端功能的FTP工具,主要功能包括:FTP搜索、浏览,文件搜索,上传、下载,收藏夹等。它专门为局域网,特别是校园网量身定做。它是完全的绿色软件,无需安装,不会读写注册表,仅仅一个单独的只有几百K的EXE文件它搭载强大的FTP站点搜索引擎,能在几十秒内搜索数以万计的IP地址。它的文件搜索功能支持多种搜索模式,并提供几种常用的关键字组合。站点搜索引擎和文件传输引擎无缝连接,搜索出来的站点被显示在浏览窗口,只需通过点击或者拖动就可以很方便的上传、下载文件。站点浏览窗口的站点可以很方便的添加到收藏夹里,并可以在站点管理器里对收藏夹进行修改、添加和删除操作。http://www.skycn.com/soft/12245.html

       2, AceFTP V3.80.2 Free相当强大且好用的FTP软件,使用者只需以软件本身的浮动按钮即会操作,它提供多文件下载,且可同时至多个Sever下载,使用者更可边上FTP下载文件,边浏览网页一个FTP软件,结合了浏览器与FTP的功能,它可以在下载或上传文件之前先预览 GIF、JPG和 HTML的文件,并且你可以在同一个视窗下开启多个远端的目录或是登入多个远端的FTP服务器,你也可以直接输入欲下载文件的位址来下载文件,支持 FTP 和 HTTP。国外免费FTP 工具http://www.visicommedia.com/

        3, WinSCP 是一个支持SSH(Secure SHell)的SCP(Secure CoPy)文件传输软件。只要文件主机支持SSH协定,你就可以安心的下载、上传文件。他的操作界面是参考NC(Norton Commander)的双视窗排列方式,使用起来不会有太大的困难。在WinSCP中,一般的文件操作都没有问题,如:复制、移动、更名文件或文件夹等。http://winscp.net/eng/index.php

       4, SmartFtp 是一套以 IE 及资源管理器的概念、简易操作的传输程序,可用来做Local 端的文件管理,对于 FTP 站更如同资源管理器般的操作方式,支持鼠标右键的各项快捷功能,且对于站台更以 IE 的“收藏夹”方式来管理,支持同时登陆多个站台。另有一项强悍的功能:可使用 FTP Search 来搜寻文件,而直接开启站台下载。界面方面:提供浮动式功能键、支持多窗口排列、更可更改文字颜色及标题列渐进色彩,动作上也可有声音的提示功能。http://www.skycn.com/soft/2602.html

         5,ChinaFTP 专业的免费FTP客户端软件,可以对世界上任何FTP服务器文件的上传和下载, ChinaFTP有完善的文件传输和管理功能,全新的站点设计可对站点进行导入导出,可自动化生成文件传输脚本,站点支持显IP及服务器所在具体位置的功能,让你时刻了解站点的位置。http://www.china-ftp.cn/

        6,1st Choice FTPPro一套界面如同资源管理器的FTP软件,您只须利用鼠标拖曳即可上传或下载文件,相当轻巧方便。http://www.ftppro.com/

        7,FileZilla 是一个免费FTP客户端软件,虽然它是免费软件,可功能却一点也不含糊,比起那些共享软件来有过之而无不及,在新的版本中作者改进了手动下载的界面和功能等,不过该软件暂时还是不支持断点续传功能。总的来说是一款优秀的免费软件。http://sourceforge.net/projects/filezilla/

        8,流星雨-猫眼 V3.69 正式版一款真正的多FTP管理客户端,仿资源管理器界面。这款软件彻底打破了类CuteFtp客户端那种一个站点一个窗口的作法,并且工作时无视图锁定,内建两个文件传输类:1.立即任务类。2.计划列表类。计划列表类支持续传。两个类均支持同一时间对多个服务器的不同操作,真正支持网站对传,用两种方式保证网站对传能够顺利完成。

紫田网络(阿江统计)断网事件独家跟踪报道(图+视频)

视频1:服务器到杭州后现场搬运过程 http://6.cn/watch/1452300.html
  

视频2:服务器已经全部上架,等待设置后开通服务器 http://www.56.com/u14/v_MTc2MDczOTU.html
 

=======================================================

各位网友一直在关注紫田网络(阿江统计)的恢复进展情况
中国原始人网在百忙之中,数天来对“紫田断网事件”做了视频+图片的实况追踪报道

目前,数百台服务器已经全部从保安室放到了相应的机柜里面
等待设置完成后逐渐开通所有服务器,相关后续工作正在不断完善

所有技术人员已经连续工作数十小时,已经晚上9:20了
才在3楼机房门口,坐在地上吃晚饭,着实让人感动

感谢大家对紫田网络(阿江)的支持,对洛阳电信的断网行为比较强烈愤慨
我司深深理解强制断网后更换IP地址的痛苦,对阿江表示支持
中国原始人网将进一步进行跟踪报道此事件的恢复进展!!!

下图为:服务器已经上架,等待设置后开通

图片点击可在新窗口打开查看

 

下面为之前所发报道记录(蓝月工作人员帮忙搬运服务器部分服务器恢复进展图):

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看

 

25日晚上紫田和51啦主服务器上架图(如下)

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看
 

图片点击可在新窗口打开查看

后感:好强啊,这么多服务器,还是服务器群啊~~~ 多少的给我一台,多好啊~~
      自己好好做就是了,服务器会有的,服务器群也会有的。。。

毁灭上万网站,紫田网络灾难全纪录

      这几天在忙着弄网站,也没时间去im286看看,这几天网上有没有什么站长方面的新闻。今天就先去了朋友的Blog看了看,看到了几天前,让我以及所有站长最怕的事。。。

       2007年8月23日,看似平凡的一天,但对网站在河南电信公司洛阳电信机房的数千名站长来说,却成了一个黑色的日子。国企老总一句话,就使数千名站长有了个不眠之夜,使上万个网站无法访问.这个夜晚,直接损失上百万,间接影响无法计算。

当“灾难”降临的时候,大家谁都不相信这是事实,而这却是实实在在的发生了—–

当天晚上20点20分,站长们发现自己网站不能访问。随即联系IDC商紫田网络。

得到的答复是:网络被电信关停了!
大家追问原因。紫田没有得到通知,但根据当天的发生的事情,解释如下:
当天近中午时分,紫田网络的杨总接到来自河南电信分公司的电话,说信息产业部查到了一个网站,让提供关于该网站的相关资料。
杨总发现,该网站打开时出现的是错误提示。最初以为该站长得到了消息。后来发现该网站只是首页打不开。可以查到其他页面。网站上内容无非法信息。该网站还有一个论坛,论坛几乎没人气。但上面有自动发贴机发的垃圾广告。

随即联系该网站所在服务器的主人。得知此网站是他为朋友提供的空间,让学做网站的。他很快应紫田网络的要求提供了该朋友的详细资料。并关停了网站。紫田网络也将该服务器及该网站的情况与12:30分提交给了省电信。

事情本来到这里可以告以段落了。谁也想不到接下来发生的事情会是那么严重。
下午上班,河南省电信公司马主任联系紫田,要备份该网站的数据。(此事后来被否认,当时电话没录音,可惜了。在此也提醒大家,工作电话切记录音)
紫田的杨总隧与该服务器用户联系,让备份数据。
中国有句俗话,屋漏偏遭连阴雨,船迟却遇顶头风。

就下载数据的几分钟时间,据省电信的人后来说,刚好信息产业部的人又检查,发现该网站居然还没关。
事情到此就变得异常严重了—–当然紫田并不知道
直到晚上20点20分,整个网络中断时,才知道事态发展到了不可收拾的地步。
紫田在网络中断的第一时间,联系到洛阳电信机房工作人员,得到的消息是:接到省电信通知,让关停的。
紫田网络四个用户群沸腾了!群情激愤。尽管紫田工作人员希望大家能保持沉默,以使更多的站长看到紫田发出的通知。但站长们还是无法控制自己。叹息的、咒骂的、出主意的、急着借空间解析域名的、计算损失的、安慰大家的,各种声音使用户群里从未有过的热闹。而这种热闹是多么的可叹可悲。

河南省电信关停一个IDC机房,数百台服务器,数千个网站,居然没有给做为签约IDC商任何通知。另紫田措手不及。让素以服务好著称的紫田非常尴尬。
而洛阳电信表示:他们是接上级通知让关的。只有上级通知才能开。不是考虑合法违法的时候。
联系到河南省电信一主任,很热情的表示愿意帮紫田联系老总。
半个小时后,得到答复:老总明确表示,晚上不能开通。
晚上,是他们的休息时间,他们是不能办公的。这可以理解。

而这数千名站长怎么办?上万个网站怎么办?上万个网站还联络着全国数百万名网民哇!
更可悲的是,目前世界上中文网站百强的51LA统计70多台服务器也放置于该机房。有数万个网站使用着51LA统计。数万个网站中,也包括很多的政府、企业网站。虽然51LA的站长阿江对域名做了紧急解析转移,不影响数万个网站的打开速度,但关停期间的统计服务却不得不停止了
而这些,领导是不予考虑的。领导是管大事的,不可能考虑到百姓的细节问题。
让站长们恼火的是:即使是紫田网络该被惩罚,何以祸及广大无辜站长?
为何在没有任何通知转移的情况下断然关闭?
在站长眼中天塌似的大事,在领导那里,就只是不值一提了。

【后续】8月24日,众多站长早早开始等待紫田的消息。等到将近中午,终于盼来了最后结果:河南电信老总明确表示:17大结束前是不会开了!!而这天已经是周五了。接下来是双休日。电信老总是不可能再谈论这个问题的。数千个网站还在继续关停中,数百万个网民正在受着影响。对电信老总来说,就是关了一些网站嘛。而也许使用个百M空间的小空间,可能关停就影响巨大。也许该公司正要谈业务,而公司网站打不开了。也许刚接到一个外贸订单,却因为网站打不开黄了。也许、、、众多的网站中,仅举一个紫田赞助空间的网站站长说的话:
我是兵妈妈乔文娟,我们的“中国拥军网”在紫田那。今天晚上是一年一度的八一征文颁奖晚会,这是面对全国全军的。获奖名单、节目单等都在论坛,今天是最后的筹备工作。解放军报等媒体都在关注。我不管你们和紫田的事情,请先打开“中国拥军网”。
乔妈妈的要求已经无法实现了。
而类似这样重要的网站何止千个?

而此时,惊闻紫田网络被关的消息后,全国数十家机房联系紫田老总,邀请到他们机房去。为了尽快恢复所有用户网站,紫田选择了机位比较充足的杭州某机房。截止发稿时,载着数百台服务器、上万个网站、价值连城的数据的汽车已经从洛阳出发。
窗户开了,新鲜空气进来了,苍蝇可能也就进来了。但我们不可能为了一只苍蝇而关闭了所有的窗户。很可惜,中国电信集团河南电信分公司的老总不懂这个简单的道理。他不容许有苍蝇进来。他没考虑到装个纱窗,而是关闭了所有的门窗!!

中国的互联网,遭遇这样的老总,让人哭笑不得。

而紫田,此时只有拿着电信的合同,等待法律援助啦。

  后感:我们做站长的容易吗,不是信息产业部就是电信网通公司的找麻烦,再就是一些自觉的网友发些不健康或者反动言论,哎。。。。

DZ60RC1的.htaccess文件下载

       不好意思上篇Log忘了给大家Discuz6.0RC1的.htaccess文件了。对不起各位了在这里补上。

1. 普通的DZ60RC1的.htaccess文件
     刚安装了DZ60RC1的时候, 我知道以前的DZ55的这个老的.htaccess文件可能和DZ60的不一样. 我也到处找这个DZ60RC1的.htaccess文件下载. 但是没有找到.  朋友提示官方文件包里有DZ60RC1的.htaccess文件原代码. 所以只好自己生成DZ60RC1的.htaccess文件了哦.
      好在我有编辑和生成的.htaccess的专门软件.  立即为自己创建一个DZ60RC1的.htaccess文件. 上传到我的论坛目录. 后台开启静态化, 娃撒.  Google , Baidu , Yahoo 就立即收录我站了哦. 目前 Yahoo收录我站最多.800个了.
     参观地址: www.licess.net/bbs   注意看DZ版本是: DZ60RC1. 起用静态化正常.
     我已经处理好子目录, 注意你的安

 

装目录在: /bbs  下 或 /forum  或根目录下, 请选择不同文件包. 如果其他目录,请自己修改. 不会修改的, 请回复帖子请求帮助. 如果需要紧急帮助的. 请到我站:www.BZ98.com 论坛来. 
     请在本帖子下边下载, 提供DZ60RC1的普通的.htaccess文件,
     论坛在 /bbs 目录下:    下载文件BBS下普通.htaccess.zip (475 Byte , 下载:17次)
     论坛在 /forum 目录下:  下载文件Forum下普通htaccess.zip (479 Byte , 下载:17次)
     论坛在  米/  根目录下:    下载文件根目录普通htaccess.zip (474 Byte , 下载:25次)


2.   高级的DZ60RC1的.htaccess文件.

      提供论坛首页的Html文件静态. 就是 www.discuz.net/index.html  不能打开. 晕哦, DZ居然还是404错误页. 我的可以用 index.html 打开首页 哦.
    请参观:  www.licess.net/bbs/index.html ,   www.licess.net/bbs/index.html
    
     请在本帖子下边下载, 提供DZ60RC1的高级的.htaccess文件,
     论坛在 /bbs 目录下: 下载文件BBS下高级thaccess.zip (489 Byte , 下载:11次)
     论坛在 /forum 目录下:下载文件Forum下高级htaccess.zip (493 Byte , 下载:16次)
     论坛在  米/  根目录下: 下载文件Forum下高级htaccess.zip (493 Byte , 下载:16次)

3.   顶级的DZ60RC1的.htaccess文件.

      提供论坛所有错误指定, 自己定义你想指到的页面.  例如: www.discuz.net/乱弄个地址.html  不能打开. 晕哦, DZ居然还是404错误页. 我的论坛下的所有错误, 都可以有我自己指到---打开首页 哦.
    以上信息由http://www.bz98.com/bbs/thread-219-1-1.html提供。

.htaccess功能说明及编写方法&下载

      今天论坛总算弄得差不多了,也变漂亮了,呵呵。但是在美化和添加版块的时候没有测试一下,结果板块建好之后,不能打开,提示404错误。但是愣了一下,感觉不可能啊,用了这么多年的论坛怎么出这种事,回过头想了想。可能是用了使用生成静态页面的原因。打开FlashFXP看了看,好像少了个文件,于是赶快上网上下了.htaccess。在F5一下问题解决。
    
下面就给大家说点.htaccess的资料吧

中英文对照不错吧,照顾照顾老外呗。

• Part 1 – Introduction介绍
• Part 2 - .htaccess Commande命令
• Part 3 - Password protection密码保护

Part 1 – Introduction介绍

Introduction 介绍

In this tutorial you will find out about the .htaccess file and the power it has to improve your website. Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being able to have your own custom 404 error pages. .htaccess isn't difficult to use and is really just made up of a few simple instructions in a text file.
从本指南中,您可以学习到有关.htaccess文档及其功能,用以优化您的网站。尽管.htaccess只是一个文档,但它可以更改服务器的设置,允许您做许多不同的事情,最流行的功能是您可以创建自定义的“404 error”页面。.htaccess 并不难于应用,只是在一个text文档中添加几条简单的指令而已。

Will My Host Support It? 我的主机支持它吗?

This is probably the hardest question to give a simple answer to. Many hosts support .htaccess but don't actually publicise it and many other hosts have the capability but do not allow their users to have a .htaccess file. As a general rule, if your server runs Unix or Linux, or any version of the Apache web server it will support .htaccess, although your host may not allow you to use it.
这可能很难用简单的答案来回答。许多主机支持.htaccess但实际上并不会明确声明,许多其他类型的主机有能力但并不允许他们的用户使用.htaccess文档。作为一般性的规则,如果你的主机使用Unix或Linux系统,或任何版本的Apache网络服务器,它一般来说是支持.htaccess的,尽管你的主机服务器可能不允许你使用它。

A good sign of whether your host allows .htaccess files is if they support password protection of folders. To do this they will need to offer .htaccess (although in a few cases they will offer password protection but not let you use .htaccess). The best thing to do if you are unsure is to either upload your own .htaccess file and see if it works or e-mail your web host and ask them.
你的主机是否允许.htaccess,很好的一个标志是它是否支持文件夹的密码保护。为此,他们将提供.htaccess支持(尽管少数情况下他们提供密码保护功能但不允许你使用.htaccess)。如果你不确定,最好的办法一是上传你自己的.htaccess文档看看是否有用,二是e-mail给你的主机服务商询问。

What Can I Do? 我该怎么做?

You may be wondering what .htaccess can do, or you may have read about some of its uses but don't realise how many things you can actually do with it.
你可能疑惑.htaccess到底能做些什么,或者你可能曾知道它的一些功能但并不真正了解你实际到底可以用它来做多少事情。

There is a huge range of things .htaccess can do including: password protecting folders, redirecting users automatically, custom error pages, changing your file extensions, banning users with certian IP addresses, only allowing users with certain IP addresses, stopping directory listings and using a different file as the index file.
.htaccess可以做大量范围的事情,包括:文件夹密码保护、用户自动重新指向、自定义错误页面、变更你的文件扩展名、屏蔽特定的用户IP地址、只允许特定的IP地址、停止目录表以及使用其他文件作为index文件。

Creating A .htaccess File 创建一个.htaccess文档

Creating a .htaccess file may cause you a few problems. Writing the file is easy, you just need enter the appropriate code into a text editor (like notepad). You may run into problems with saving the file. Because .htaccess is a strange file name (the file actually has no name but a 8 letter file extension) it may not be accepted on certain systems (e.g. Windows 3.1). With most operating systems, though, all you need to do is to save the file by entering the name as:
创建.htaccess文档也许会给你带来几个问题。写文档很容易,你只需要在文字编缉器(例如:写字板)里写下适当的代码。然后,你可能会遇到保存文档的困难,因为.htaccess是一个古怪的文件名(文档事实上没有文件名,只有一个由8个字母组成的扩展名),一些系统(例如windows 3.1)无法接受这样的文件名。在大多数的操作系统中,你需要做的是将文档保存成名为:

".htaccess"

(including the quotes). If this doesn't work, you will need to name it something else (e.g. htaccess.txt) and then upload it to the server. Once you have uploaded the file you can then rename it using an FTP program.
(包括引号)。如果这也不行,你需要将其命名为其他的名字(例如htaccess.txt),再将其上传到服务器上,此后你就可以利用FTP软件来重命名它了。

Warning 警告

Before beginning using .htaccess, I should give you one warning. Although using .htaccess on your server is extremely unlikely to cause you any problems (if something is wrong it simply won't work), you should be wary if you are using the Microsoft FrontPage Extensions. The FrontPage extensions use the .htaccess file so you should not really edit it to add your own information. If you do want to (this is not recommended, but possible) you should download the .htaccess file from your server first (if it exists) and then add your code to the beginning.
在使用.htaccess之前,我必须给你一些警告。尽管在服务器上使用.htaccess绝对不太可能给你带来任何麻烦(如果有些东西错了,它只是没效用罢了),但如果你使用Microsoft FrontPage Extensions你就需要小心些。FrontPage Extensions使用了.htaccess,因此你不能编辑它,加入你自己的信息。如果你需要(并不推荐,但是可能)你应该先从服务器上下载.htaccess文档(如果存在),之后在前面加上你的代码。

Custom Error Pages 自定义错误页

The first use of the .htaccess file which I will cover is custom error pages. These will allow you to have your own, personal error pages (for example when a file is not found) instead of using your host's error pages or having no page. This will make your site seem much more professional in the unlikely event of an error. It will also allow you to create scripts to notify you if there is an error (for example I use a PHP script on Free Webmaster Help to automatically e-mail me when a page is not found).
我想介绍的.htaccess第一个应用是自定义错误页面,这使得你可以拥有自己的、个性化的错误页面(例如找不到文件时),而不是你的服务商提供的错误页或没有任何页面。这会让你的网站在出错的时候看上去更加专业。你还可以利用脚本程序在发生错误的时候通知你(例如我使用Free Webmaster Help的PHP脚本程序,当找不到页面的时候自动e-mail给我)。

You can use custom error pages for any error as long as you know its number (like 404 for page not found) by adding the following to your .htaccess file:
任何你知道代码的错误(像404找不到页面),你都可以将其变成自定义页面,要做的只是在.htaccess文件里加入以下一段:

ErrorDocument errornumber /file.html

For example if I had the file notfound.html in the root direct
ory of my site and I wanted to use it for a 404 error I would use:
例如,如果我的根目录下有一个nofound.html文档,我想使用它作为404 error的页面:

ErrorDocument 404 /notfound.html

If the file is not in the root directory of your site, you just need to put the path to it:
如果文件不在网站的根目录下,你只需要把路径设置为:

ErrorDocument 500 /errorpages/500.html

These are some of the most common errors:
以下是一些最常用的错误:

401 - Authorization Required
400 - Bad request
403 - Forbidden
500 - Internal Server Error
404 - Wrong page

Then, all you need to do is to create a file to display when the error happens and upload it and the .htaccess file.
这样,你要做的只是生成一个错误显示文档,然后把它们上传。

Part 2 - .htaccess 命令

Introduction 介绍

In the last part I introduced you to .htaccess and some of its useful features. In this part I will show you how to use the .htaccess file to implement some of these.
上一部分中我已经将你引入了.htaccess以及它的一些有用的功能,在这一部分里,我将向您演示如何应用.htaccess文档去实现这些功能。

Stop A Directory Index From Being Shown 停示显示目录索引

Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, a full listing of all the files in that directory will be shown. This could be a security risk for your site.
有些时候,由于某种原因,你的目录里没有index文件,当然这样意味着如果有人在浏览器地址栏键入了该目录的路径,该目录下所有的文件都会显示出来,这造成了网站的安全威胁。

To prevent against this (without creating lots of new 'index' files, you can enter a command into your .htaccess file to stop the directory list from being shown:
为了避免这种情况(而不必创建一堆的新index文档),你可以在你的.htaccess文档中键入以下命令,用以阻止目录索引的显示:

Options -Indexes

Deny/Allow Certian IP Addresses 阻止/允许特定的IP地址

In some situations, you may want to only allow people with specific IP addresses to access your site (for example, only allowing people using a particular ISP to get into a certian directory) or you may want to ban certian IP addresses (for example, keeping disruptive memembers out of your message boards). Of course, this will only work if you know the IP addresses you want to ban and, as most people on the internet now have a dynamic IP address, so this is not always the best way to limit usage.
有些情况下,你可能只想允许某些特定IP的用户可以访问你的网站(例如:只允许使用特定ISP的用户进入某个目录),或者你想拦截某些特定的IP地址(例如:将低级用户隔离于你的信息面版外)。当然,这只在你知道你想拦截的IP地址时才有用,然而现在网上的大多数用户都使用动态IP地址,所以这并不是限制使用的常用方法。

You can block an IP address by using:
你可以使用以下命令拦截一个IP地址:

deny from 000.000.000.000

where 000.000.000.000 is the IP address. If you only specify 1 or 2 of the groups of numbers, you will block a whole range.
被拦截的IP地址则为000.000.000.000,如果你只指定其中1或2个代码组,你可以拦截整个区域的地址。

You can allow an IP address by using:
你可以使用以下命令允许一个IP地址的访问:

allow from 000.000.000.000

where 000.000.000.000 is the IP address. If you only specify 1 or 2 of the groups of numbers, you will allow a whole range.
被允许的IP地址则为000.000.000.000,如果你只指定其中1或2个代码组,你可以允许整个区域的地址。

If you want to deny everyone from accessing a directory, you can use:
如果你想阻止所有人访问该文件目录,你可以使用:

deny from all

but this will still allow scripts to use the files in the directory.
但这将仍然允许脚本程序使用这个目录下的文档。

Alternative Index Files 替代的index文档

You may not always want to use index.htm or index.html as your index file for a directory, for example if you are using PHP files in your site, you may want index.php to be the index file for a directory. You are not limited to 'index' files though. Using .htaccess you can set foofoo.blah to be your index file if you want to!
也许你不想一直使用index.htm或index.html来作为目录的索引文档,例如你的站点使用PHP文档,你会想使用 index.php来作为该目录的索引文档。当然也不必局限于“index”文档,如果你愿意,你尽管使用foofoo.balh来作为你的索引文档!

Alternate index files are entered in a list. The server will work from left to right, checking to see if each file exists, if none of them exisit it will display a directory listing (unless, of course, you have turned this off).
替代的索引文档可以排成一个列表,服务器会从左至右进行寻找,看看哪个文档在真实的目录中存在。如果一个也找不到,它将会把目录清单显示出来(当然除非你关闭了显示目录文件清单)。

DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm

Redirection 重新指向

One of the most useful functions of the .htaccess file is to redirect requests to different files, either on the same server, or on a completely different web site. It can be extremely useful if you change the name of one of your files but allow users to still find it. Another use (which I find very useful) is to redirect to a longer URL, for example in my newsletters I can use a very short URL for my affiliate links. The following can be done to redirect a specific file:
.htaccess其中一个极其有用的功能,就是将请求重新指向站内或站外的不同文档。当你改变了一个文档名称时但仍然想让用户仍然可以用旧链接找到它,这个时候此功能将变得极其有用。另一个应用(我发现的很有用的)是重新指向一个长URL,例如在我的时事信息中,我可以使用一个很简短的URL来指向我的联合链接。以下是一个重新指向特定文档的例子:

Redirect /location/from/root/file.ext http://www.othersite.com/new/file/location.xyz

In this above example, a file in the root directory called oldfile.html would be entered as:
上述的例子中,访问在root目录下的名为oldfile.html可以键入:

/oldfile.html

and a file in the old subdirectory would be entered as:
访问一个旧次级目录中的文件可以键入:

/old/oldfile.html

You can also redirect whole directoires of your site using the .htaccess file, for example if you had a directory called olddirectory on your site and you had set up the same files on a new site at: http://www.newsite.com/newdirectory/ you could redirect all the files in that directory without having to specify each one:
你也可以使用.htaccess将整个网站的目录都做重新指向,假如你的网站上有一个名为olddirectory的目录,并且你已经在一个新网站http://www.newsite.com/newdirectory/上建立了与上相同的文档,你可以将旧目录下所有的文件做一次重新指向而不必一一声明:

Redirect /olddirectory http://www.newsite.com/newdirectory

Then, any request to your site below /olddirectory will bee redirected to the new site, with the
extra information in the URL added on, for example if someone typed in:
这样,任何指向到站点中/olddirectory的请求都将被重新指向新的站点,包括附加的额外URL信息。例如有人键入:

http://www.youroldsite.com/olddirecotry/oldfiles/images/image.gif

They would be redirected to:
请求将被重新指向到:

http://www.newsite.com/newdirectory/oldfiles/images/image.gif

This can prove to be extremely powerful if used correctly.
如果正确使用,本功能将极其强大。

Part 3 – 密码保护

Introduction 介绍

Although there are many uses of the .htaccess file, by far the most popular, and probably most useful, is being able to relaibly password protect directories on websites. Although JavaScript etc. can also be used to do this, only .htaccess has total security (as someone must know the password to get into the directory, there are no 'back doors')
尽管有各种各样的.htaccess用法,但至今最流行的也可能是最有用的做法是将其用于网站目录的可靠的密码保护。尽管JavaScrip等也能做到,但只有.htaccess具有完美的安全(即访问者必须知晓密码才可以访问目录,并且绝无“后门”可走)。

The .htaccess File

Adding password protection to a directory using .htaccess takes two stages. The first part is to add the appropriate lines to your .htaccess file in the directory you would like to protect. Everything below this directory will be password protected:
利用.htaccess将一个目录加上密码保护分两个步骤。第一步是在你的.htaccess文档里加上适当的几行代码,再将.htaccess文档放进你要保护的目录下:

AuthName "Section Name"
AuthType Basic
AuthUserFile /full/path/to/.htpasswd
Require valid-user

There are a few parts of this which you will need to change for your site. You should replace "Section Name" with the name of the part of the site you are protecting e.g. "Members Area".
有几个小部分你可能需要根据你的网站情况而修改一下。用被保护部分的名字替换掉”Section Name”,例如"Members Area"。

The /full/parth/to/.htpasswd should be changed to reflect the full server path to the .htpasswd file (more on this later). If you do not know what the full path to your webspace is, contact your system administrator for details.
另外/full/parth/to/.htpasswd 应该替换为指向.htpasswd文档(后面详述该文档)的完整服务器路径。如果你不知道你网站空间的完整路径,询问一下你的系统管理员。

The .htpasswd File

Password protecting a directory takes a little more work than any of the other .htaccess functions because you must also create a file to contain the usernames and passwords which are allowed to access the site. These should be placed in a file which (by default) should be called .htpasswd. Like the .htaccess file, this is a file with no name and an 8 letter extension. This can be placed anywhere within you website (as the passwords are encrypted) but it is advisable to store it outside the web root so that it is impossible to access it from the web.
目录的密码保护比.htaccess的其他功能要麻烦些,因为你必须同时创建一个包含用户名和密码的文档,用于访问你的网站,相关信息(默认)应位于一个名为.htpasswd的文档里,像.htaccess一样,.htpasswd也是一个没有文件名且具有8位扩展名的文档,可以放置在你网站里的任何地方(此时密码应加密),但建议你将其保存在网站根目录外,这样通过网络就无法访问到它了。

Entering Usernames And Passwords 输入用户名和密码

Once you have created your .htpasswd file (you can do this in a standard text editor) you must enter the usernames and passwords to access the site. They should be entered as follows:
创建好.htpasswd文档后(可以通过文字编辑器创建),下一步是输入用于访问网站的用户名和密码,应为:

username:password

where the password is the encrypted format of the password. To encrypt the password you will either need to use one of the premade scripts available on the web or write your own. There is a good username/password service at the KxS site which will allow you to enter the user name and password and will output it in the correct format.
“password”的位置应该是加密过的密码。你可以通过几种方法来得到加密过的密码:一是使用一个网上提供的permade脚本或自己写一个;另一个很不错的username/password加密服务是通过KxS网站,这里允许你输入用户名及密码,然后生成正确格式的密码。

For multiple users, just add extra lines to your .htpasswd file in the same format as the first. There are even scripts available for free which will manage the .htpasswd file and will allow automatic adding/removing of users etc.
对于多用户,你只需要在.htpasswd文档中新增同样格式的一行即可。另外还有一些免费的脚本程序可以方便地管理.htpasswd文档,可以自动新增/移除用户等。

Accessing The Site 访问网站

When you try to access a site which has been protected by .htaccess your browser will pop up a standard username/password dialog box. If you don't like this, there are certain scripts available which allow you to embed a username/password box in a website to do the authentication. You can also send the username and password (unencrypted) in the URL as follows:
当你试图访问被.htaccess密码保护的目录时,你的浏览器会弹出标准的username/password对话窗口。如果你不喜欢这种方式,有些脚本程序可以允许你在页面内嵌入username/password输入框来进行认证,你也可以在浏览器的URL框内以以下方式输入用户名和密码(未加密的):

http://username:password@www.website.com/directory/

小结

.htaccess is one of the most useful files a webmaster can use. There are a wide variety of different uses for it which can save time and increase security on your website.
.htaccess是一个站点管理员可以应用的一个强大的工具,有更多的变化以适应不同的用途,可以节约时间及提高网站的安全性。

分享一下我的论坛图标(版块前的东东)

 

       今天又是在家做网站啊~命苦啊  做论坛的时候想把论坛版块前面给她美化一下,就想到在前面加上张相关的图片,这样应该能增色不少。于是赶快去网上找(那东东偶是做不出来),在网上找啊找啊找,基本上没有效果。又突然想起来以前好像收集过类似的东东,去E盘一看,果然有那么个东东躺在那。呵呵

下载文件论坛图标.rar (1.28 MB , 下载:698次)

再给大家附上另一个,也是论坛图标,绝对精品
下载文件各种PNG论坛图标打包下载.rar (0 Byte , 下载:1190次)