At 08:21 10/13/2004, Brad Perkins wrote:
At 07:35 10/13/2004, you wrote:
The "jump" is most likely the key I'm missing.

My Active4D rules (and all of my rules for that mater) are all proxy rules. Would the rule that jumps be a proxy or a modify? And, is it possible to jump from a modify rule to a proxy rule?

I don't know. Please consult the WebStar manual.

I have and will again. In this case the details aren't obvious.

After rereading the manual, and a few hours or mostly trial and error here is what I found to work.


Use an admin level redirect rule. For example:

URL matches ^[/]foo[/]?$

Redirect to http://mysite.com/apps/foo/index.a4d

Continue with rule: stop

Some observations:

Modify rules sort of worked with a jump, but when they did my Active4D pages couldn't access the style sheets and or images that would normally be served by WebSTAR. This was a total show stopper.

Proxy rules appear to put you into an endless request loop (from watching the log window).

The Redirect rule can be extended to filter by hostname. You might be able to use a different regex for the match, but I found the above to work. Matching ^ and $ (start/end line) was key. I character classed the slashes just to be safe. The trailing slash is optional therefore /foo/ or /foo will redirect.

hth someone else,

Brad




_______________________________________________ Active4D-dev mailing list [EMAIL PROTECTED] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to