Essentially you have to redirect / to a field.

# Redirecting / to a field
RewriteCond %{SCRIPT_FILENAME} !-f [NC]
RewriteRule ^(.*)$ /putfieldnamehere/index.php?p=$1 [QSA,L]

You can repeat this for every field you have.

Second step will be to skip redirection for the images and files
folder.

# Skip the files folders
RewriteRule ^putfieldnamehere/files/.*$ - [L]

Repeat this too.

# Skip images in the farm folder
RewriteRule ^boltwire/farm/img/.*$ - [L]

This should work once for all fields.

Maybe you should zip up your custom installation, run a quick standard
installation with a couple of fields, check out your favourite
rewrites that match your server config, and then try to adapt your
findings to your customized wiki ...

Greetings, Martin




On 13 Okt., 05:31, roottoor <[email protected]> wrote:
> And if it's helpful, here is my index.php file from the example
> directory:
>
> ________________________________________________________
>
> ## DEFAULT SUPER-ADMIN USER ##
> $BOLTadmin = 'example';
>
> ## PATHS, URLS AND DIRS ##
> $boltwire = '../boltwire';
> $barnPath = "$boltwire";
> $scriptPath = "$barnPath/scripts";
> $systemPath = "$barnPath/actions";
> $farmPath = "assets";
> $imgPath = "$farmPath/images";
> $pubPath = "$farmPath/uploads";
> $pluginPath = "$farmPath/plugins";
> $skinPath = "$farmPath/skins";
> $farmURL = "http://$_SERVER[HTTP_HOST]/assets";);
> $imgURL = "$farmURL/images");
> $pubURL = "$farmURL/uploads");
> $pagesDir = "$farmPath/pages";
> $configDir = "$farmPath/config";
> $index = '';
>
> ## HTACCESS DOMAIN MAPPING ##
> $cleanURL='http://www.roottoor.org/field';
> $fieldURL='http://www.roottoor.org/field';
>
> ## START BOLTWIRE ENGINE ##
> include_once("../boltwire/scripts/engine.php");
> ________________________________________________________
>
> I don't have anything in my .htaccess, since following the steps on
> the tutorials section didn't work, I just have an empty .htaccess
> uploaded to my root.

-- 
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.

Reply via email to