Toc
0 results found
Seven Chen
一个简单的Url_rewrite规则,实现动态php 静态化
2008/01/30 NULL php

.htaccess

RewriteEngine On
RewriteRule ^(.+)\.html index.php\?Action=$1

// 简单介绍下

RewriteEngine On
开启apache mod_rewrite

RewriteRule ^(.+)\.html index.php\?Action=$1

http://www.club-fish.com/xxxx.html

转义成

http://www.club-fish.com/index.php?Action=xxxx

humen1 Tech

本文作者:Seven Chen
版权声明:本文首发于Seven Chen的博客,转载请注明出处!