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/

Reply via email to