阿帕奇mod-rewrite的引物? [英] Apache Mod-Rewrite Primers?

查看:206
本文介绍了阿帕奇mod-rewrite的引物?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道什么引物/指南/教程/等。在那里学习重写使用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的有用:<一href="http://www.addedbytes.com/apache/url-rewriting-for-beginners/">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/

这篇关于阿帕奇mod-rewrite的引物?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆