转载自 just 平生一笑 的.htaccess 看完了,也分五篇转载好了,每篇的开头都注明了出处,测试时碰到的问题也不错在其中。我博客中转载文章都会醒目注明,并且做一个链接,有些文章找不到原出处的,我就链我看到的那个站。如果转载了你的文章,你说爷不高兴了,不爽了,那你就给我封邮件就好,about中有咱因迈尔 。
转载自 techweb
.htaccess 文件 (Hypertext Access file) 是Apache Web服务器的一个非常强大的配置文件,对于这个文件,Apache有一堆参数可以让你配置出几乎随心所欲的功能。.htaccess 配置文件坚持了Unix的一个文化——使用一个ASCII 的纯文本文件来配置你的网站的访问策略。
U9 H: X( G% v! A. x* G* w% m这篇文章包括了16个非常有用的小技巧。另外,因为.htaccess 是一个相当强大的配置文件,所以,一个轻微的语法错误会造成你整个网站的故障,所以,在你修改或是替换原有的文件时,一定要备份旧的文件,以便出现问题的时候可以方便的恢复。
转载自 just 平生一笑
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 [...]
转载自 just 平生一笑
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. [...]
第1 博文诞生了,刚才联合国发来贺电,说tinguys啊,这是大事情啊,咱们得庆祝一下,全体代表开会把如何庆祝lifefre.com的第100篇博文出世 列入下一个重要议题,什么能源问题,阿富汗问题先等等。奥巴马同学带着一脸色迷迷的表情先发言了,说:“那个什么,我说要不派发现号去接您老,咱到白宫来乐呵乐呵,烤烤羊肉串,喝个葡萄酒什么的。。。”还没等小马同学说完,我就不顾周围各国代表同学叽里呱啦的其他建议,一摸小马同学的小平头,拍板道:“0k, let‘s go “
转载自 just 平生一笑
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 [...]
1 comment