替换默认"的&QUOT指数;使用htaccess的自定义页面页面 [英] Replace default "index of" page with custom page using htaccess
本文介绍了替换默认"的&QUOT指数;使用htaccess的自定义页面页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我真的看不上网页默认的索引的风格时,有没有索引文件。我创建了我自己的,但我不知道如何使用htaccess的整合,这样,当没有索引文件,它会显示我的页面定制指数来代替。我怎样才能做到这一点?
I honestly despise the style of the default "index of" page when there is no index file. I have created my own, but I don't know how to integrate using htaccess so that when there is no index file, it will display my custom "index of" page instead. How can I do this?
推荐答案
使用的的DirectoryIndex 指令。
这篇关于替换默认"的&QUOT指数;使用htaccess的自定义页面页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文