From c21519b87d4d6b448ac83cac7746b4b83cd657a4 Mon Sep 17 00:00:00 2001 From: nbm Date: Mon, 23 Jan 2006 11:35:53 +0000 Subject: [PATCH] Document setting RewriteBase for mod_rewrite and pretty URLs and PATH_INFO --- .htaccess | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/.htaccess b/.htaccess index 573a9ef..cd35844 100644 --- a/.htaccess +++ b/.htaccess @@ -61,6 +61,10 @@ php_value max_execution_time 90 # #RewriteEngine On #RewriteBase / +## Set RewriteBase to the base directory that KnowledgeTree is viewable +## from via the web. So http://foo.org/ is /, and +## http://bar.com/knowledgeTree/ is /knowledgeTree +##RewriteBase /knowledgeTree #RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME}.php -f #RewriteRule !^[^/]*.php - [C] -- libgit2 0.21.4