I'm not very good with cleanUrls, so that is up to any resident guru
on the list you can find.

As for the stuff in your files directory, the chdir command throws a
loop in things. I would recommend using cleanUrls over this approach,
unless you have good reasons. Still, you might be able to fix it
easily by simply resetting any needed path variables in your index.php
file before calling the engine. Of for that matter in your root
index.php file. See engine.php lines 26 to 40 or so for a list of them
and their default values. Possibly the first one to try is something
like this:

$fieldURL = 'mysite.com/default_field/files';

Not sure if it would work, or if you would need to modify other
things. But it's a start...

Cheers,
Dan


On Tue, Dec 1, 2009 at 5:11 AM, Bogdan <[email protected]> wrote:
> Looking at docs.admin.farms, I came up with a slight modification of
> the farm installation. A combination between the last two options. I
> use the architecture:
> Root
>    boltwire2.30
>    boltwire3.31
>    boltwire2.32
>    boltwire    <>>Put the latest version here
>
>    farm/*.*    <>>Put the farm folder here
>
>    field1
>         index.php
>    field2
>         index.php:
>
> $BOLTadmin='admin';
> $field = "/field/pages";
> $farmPath = "../farm";
> $boltwire = '../boltwire';
> include_once("$boltwire/barn/scripts/engine.php");
>
> ...but in the Root, I place an index.php, which redirects to a default
> field:
> chdir('default_field');
> include("index.php");
>
> Everything goes well in this installation, which shortens the default
> folder in the pages url: mysite.com/index.php?p=..., instead of
> 'mysite.com/default_field/index.php?p=...'. This is except for the
> uploaded files and images (the content of the field/files directory).
> They are rendered as mysite.com/files/file.ext, while the proper src/
> href address is: mysite.com/default_field/files/file.ext
>
> And I have no idea how to correct it in terms of Boltwire. I make a
> 'cosmetic' javascript correction, but it doesn't satisfy me.
>
> One more problem is the cleanURL. I would really appreciate some help
> in the .htaccess text and the corresponding $cleanURL variable.
>
> Thank you for your support,
>
> Bogdan
>
> --
>
> 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.
>
>
>

--

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