导航

用户登录

聚合

聚合内容

在线用户

目前共有 0 位用户0 位游客在线。

lighttpd

lighttpd 重写规则

url.rewrite-once = ( "" => "" )

rewrites a set of URLs internally in the webserver BEFORE they are handled.
在地址处理前重写地址(地址栏显示地址不重写)

url.rewrite-repeat = ( "" => "" )

The difference between these options is that, while url.rewrite-repeat allows for applying multiple (seperately defined) rewrite rules in a row, url.rewrite-once will cause further rewrite rules to be skipped if the expression was matched.

guoshuang 于 周四, 02/21/2008 - 13:25 提交。

lighttpd drupal 的 url 重写规则

也就是 drupal 所说的 clean url url.rewrite-final = ( "^/system/test/(.*)$" => "/index.php?q=system/test/$1", "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", "^/([^.?]*)$" => "/index.php?q=$1" ) 第一句满足drupal后台管理的测试 简洁链接。 via http://drupal.org/node/43782
Apache drupal 重写规则 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
drupal lighttpd clean url 的另一个办法: 修改这个 sites/default/settings.php 文件
guoshuang 于 周四, 02/21/2008 - 09:32 提交。
by guoshuang 2007 with drupal. RSS Sitemap