Apache Mod 重写入门? [英] Apache Mod-Rewrite Primers?
本文介绍了Apache Mod 重写入门?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道什么是引物/指南/教程/等.是否在那里学习使用 Apache/.htaccess 重写 URL?从哪里开始?
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 的一部分作为脚本的参数(即 "/some/subdirs/like/this" => "script.php?a=some&b=subdirs&c=like&d=this").
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").
推荐答案
我发现这非常有用:http://www.addedbytes.com/apache/url-rewriting-for-beginners/
这篇关于Apache Mod 重写入门?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文