From 6d84a2f0e99d6cc7f09a537643374c2364a7847b Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Thu, 30 Apr 2015 22:24:59 +0100 Subject: [PATCH] www: Support subdir local mounting Makes testing a lot easier without virtual hosts or a dedicated web server configuration... --- README | 4 ++++ public_html/lib/tpl/e/nav.html | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README b/README index b448fa7b..036d35f5 100644 --- a/README +++ b/README @@ -23,6 +23,10 @@ www-content dir from the public_html/data dir like: ln -s /path/to/www-content public_html/data/www-content as an alternative. +If you want to load the website at a subdirectory you can add the config +option as follows to the local.php file you just created: + +$conf['basedir'] = '/subdir'; The first time you run your local webserver and go there, you may get permission denied problems. You may have to either make your www tree diff --git a/public_html/lib/tpl/e/nav.html b/public_html/lib/tpl/e/nav.html index b6f941d8..37e5c745 100644 --- a/public_html/lib/tpl/e/nav.html +++ b/public_html/lib/tpl/e/nav.html @@ -1,8 +1,8 @@ -
  • Main
  • -
  • About
  • -
  • Download
  • -
  • Contact
  • -
  • Docs
  • +
  • Main
  • +
  • About
  • +
  • Download
  • +
  • Contact
  • +
  • Docs
  • News
  • Blog
  • Devel