Learning .htaccess [closed]

扶醉桌前 提交于 2020-01-20 14:22:08

问题


I would like learn about .htaccess file, from the very basic to the complex portions. All its capacities, with blocking user, authentication, hiding files, redirection. So far I have only used them, but I want to learn about them, understand them. So that I will be able to create my own rule.

Could you please guide me through this, and point me to the basic and expert guides or lessons or even books. Anything, from basic to complex.


回答1:


Here an "ultimate" sample htaccess file and Apache's rewriting guide.




回答2:


This page more .htaccess tips and tricks is the best simple introduction to using htaccess for rewriting and redirecting that I've found and it's easier to understand than the official Apache guide. You have to figure everything out from the examples, but it's a good selection of most of the common things you'd want to do, rewrite-wise.



来源:https://stackoverflow.com/questions/3912673/learning-htaccess

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!