From 47c3d23caddc0c493a24f96be05d46e579bfe6d3 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 19 Dec 2006 04:02:40 +0000 Subject: [PATCH] Add info about mod_rewrite for BSRouter --- Router.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Router.php b/Router.php index 4ac045f..5a1ee3c 100644 --- a/Router.php +++ b/Router.php @@ -31,9 +31,15 @@ require_once('ISSO/RouterController.php'); /** * Router * -* Run route() in a file with a defined routing pattern and send all +* Run dispatch() in a file with a defined routing pattern and send all * requests to that file, this will then load and appropriatley run -* the right source files +* the right source files. You can use mod_rewrite like this: +* +* RewriteEngine on +* RewriteCond %{REQUEST_URI} !static/(.*)$ +* RewriteRule ^(.*)$ index.php +* +* This will prevent the rewriting on any file in the static/ directory * * @author Blue Static * @copyright Copyright (c)2002 - [#]year[#], Blue Static -- 2.22.5