我想知道什么引物/指南/教程/等。在那里学习重写使用Apache / htaccess的网址?哪里是一个良好的开端?
I am wondering what primers/guides/tutorials/etc. are out there for learning to rewrite URLs using Apache/.htaccess? Where is a good place to start?
我的主要兴趣是学习如何指向某些目录他人,以及如何使用URL的一部分作为参数传递给脚本(即/一些/子目录/喜欢/这个=>运行script.php?a =一些和b =子目录和C =像和放大器; D =本)
My primary interest is learning how to point certain directories to others, and how to use portions of a URL as parameters to a script (i.e. "/some/subdirs/like/this" => "script.php?a=some&b=subdirs&c=like&d=this").
我发现这是pretty的有用:http://www.addedbytes.com/apache/url-rewriting-for-beginners/
I found this to be pretty useful: http://www.addedbytes.com/apache/url-rewriting-for-beginners/