2009年4月29日 星期三

virtualhost and rewrite

很多virtualhost 的例子可以參考
VirtualHost Examples

apache Module Rewrite - URL Rewriting


RewriteCond Directive


rewrite rule
last|L (last rule)
Stop the rewriting process here and don't apply any more rewrite rules. This corresponds to the Perl last command or the break command in C. Use this flag to prevent the currently rewritten URL from being rewritten further by following rules. For example, use it to rewrite the root-path URL ('/') to a real one, e.g., '/e/www/'.

沒有留言: