Commit c21519b87d4d6b448ac83cac7746b4b83cd657a4

Authored by nbm
1 parent 378ae510

Document setting RewriteBase for mod_rewrite and pretty URLs and

PATH_INFO


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4633 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 4 additions and 0 deletions
.htaccess
... ... @@ -61,6 +61,10 @@ php_value max_execution_time 90
61 61 #<IfModule mod_rewrite.c>
62 62 #RewriteEngine On
63 63 #RewriteBase /
  64 +## Set RewriteBase to the base directory that KnowledgeTree is viewable
  65 +## from via the web. So http://foo.org/ is /, and
  66 +## http://bar.com/knowledgeTree/ is /knowledgeTree
  67 +##RewriteBase /knowledgeTree
64 68 #RewriteCond %{REQUEST_FILENAME} !-f
65 69 #RewriteCond %{REQUEST_FILENAME}.php -f
66 70 #RewriteRule !^[^/]*.php - [C]
... ...