I'm getting closer:

4D Client Active4D still serves 403 errors when trying to access pages.

If I run a test method that calls A4D SET ROOT the errors go away
and I can see my test index page, admin/ping.a4d, and other pages.

A4D SET ROOT ("/Library/Application
Support/4D/com.aparajita/Active4D/web")

What I don't understand is that path appears to correspond with the
default path that is displayed in log file?

Aug 18 09:55:33 Active4D: [info] interpreter: default directory:
/Library/Application Support/4D/com.aparajita/Active4D

I can create a workaround with A4D SET ROOT, but should I have too?
If I have to do this is there a recommended shell method to call
that from?

The machine is question is an XServe with 3 disks set as a RAID.
Would that matter?

-- Brad

On 8/18/10 8:59 AM, Brad Perkins wrote:
>  On 8/17/10 6:17 PM, Aparajita Fishman wrote:
>>> I have read the manual and reviewed previous discussions but can't
>>> get A4D to serve pages.
>>> I'm close, but have no idea what to try next?
>> Are you trying to serve pages from server or client?
> Client (aka 4D Remote). Using NTK. Not using SSL.
>
> A4D_InitHook is setting the client is web server setting to true.
>
> 4D's Web Passwords setting is set to No Passwords
>
> 4D's Web Server is not running.
>> Have you looked at the log? It will tell you where Active4D thinks the web 
>> root is. Also, if you turn debug logging on (see the docs), you will get all 
>> kinds of debugging info.
> Based on the log it appears that the files I'm trying to serve are
> where Active4D thinks they should be.
>
> Here is a line from the log from that shows where Active4D thinks
> the web root is:
>
> Aug 17 16:52:07 Active4D: [error] server: requested file not in root
> or safe script dirs: /Library/Application
> Support/4D/com.aparajita/Active4D/web/admin/ping.a4d
>
> And a directory listing that shows that ping.a4d is in that directory:
>
> ip128165208022:admin a110929$ pwd
> /Library/Application Support/4D/com.aparajita/Active4D/web/admin
> ip128165208022:admin a110929$ ls p*
> ping.a4d
>
> I have placed a log_debug_level file in the Active4D logs file.
>
> When I attempt to access ping.a4d I still get a 403.
>
> The log file continues to show:
>
> [error] server: requested file not in root or safe script dirs: 
> /Library/Application Support/4D/com.aparajita/Active4D/web/admin/ping.a4d
>
> It doesn't show any other errors.
>
> -- Brad
>
>
>> Kind regards,
>>
>>    Aparajita
>>    www.aparajitaworld.com
>>
>>    "If you dare to fail, you are bound to succeed."
>>    - Sri Chinmoy   |   www.srichinmoy.org
>>
>> _______________________________________________
>> Active4D-dev mailing list
>> [email protected]
>> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
>> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>>
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
>

_______________________________________________
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