Excellent work Linly! Someone should post this to the documentation somewhere... There's a page for various setup configurations... It may be farms or something.
Cheers, Dan On Wed, Feb 4, 2009 at 10:49 AM, Linly <[email protected]> wrote: > > I have a BoltWire file structure very useful. > > Root{ > index.php -> root index > boltwire{ -> system in here > home{ > farm{ -> I move farm here > field{ -> this is the real field wiki folder > index.php -> the default system index here > > By testing how to write the two index.php files I finally accomplish > this structure allowing many features: > > * It installed in a subfolder but, in url, it looks like a root site. > The home url would be "www.domain.com/?p=main" (Thank blues inspires > this.) > ** If you use further method, you can short the home url become > "www.domain.com". Please see here: > http://groups.google.com/group/boltwire/browse_thread/thread/cd837c2e63c508b?q=#d1308bad0f39c6db > > * It doesn't need cleanURL to achive this. > > * It allowed setting other field wiki in subfolder. > > * It doesn't need to set the whole root folder to 777 to allow the > wiki working. > > * Upgrade all root and field wikis are as easy as uploading the new / > boltwire/ folder. That's it. All your skins, plugins will keep the > same, no need to tweak any setting while upgrading. > > Here are the root index.php and real system index.php setting: > > ======root index.php:====================== > <?php > chdir('home/field'); > include('index.php'); > ======================================= > > ======real system index.php:================= > <?php > $BOLTadmin='admin'; > $boltwire = '../../boltwire'; > $farmPath = "../farm"; > $skinPath = "http://localhost/home/farm/skins"; > $index = ''; > include_once("../../boltwire/barn/scripts/engine.php"); > ======================================== > > Cheers, > linly > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
