Tuesday, March 5, 2013 8:48:22 PM

Hi Aparajita,

> Hmmm...that looks like it is being requested with the file: protocol. Have 
> you checked the request the browser is sending when posting to that page?

As far as I can tell, it's the same for either page; from the browser I can 
send (with the actual client domain substituted for <domain>):

http://<domain>/files/login.a4d

and it works OK; if I send

http://<domain>/files/login.a4p

I get the 404 with the full path in the error. And if I send:

http://<domain>/files/login3.a4d

which is a file that doesn't exist, I get the 404 page, but with just the 
relative path listed.

> Also, what happens if you enter http://files/login.a4p directly in the 
> browser's address bar?

As above, same error (with full path listed).

> Did you make sure that the permissions of all the folders in the path are at 
> least 755?

Sorry, forgive my ignorance; what's 755? Is that read/write for all users? (I 
have to walk the client through this over the phone, and they're not power 
users, so they're checking permissions by selecting the folder, typing cmd-I, 
and in the following information window at the bottom, setting the permissions 
for all users to read/write in the popup.)

I've got the "files" and "web" folders set to read/write; as far as I can tell, 
this seems to work for some of the files, which are served correctly (for 
instance, "login.a4d", which also includes a graphic file, which is also served 
correctly).

Anyway, a real mystery! I'm completely stumped. It seems like somehow Active4D 
is not "seeing" some files that are actually there for some reason. Does it 
maintain some sort of internal file directory cache that perhaps has gotten 
corrupted?

Thanks for your help!!!

Michael

----------------------

On Mar 5, 2013, at 8:37 PM, Aparajita Fishman wrote:

>> If I call a particular file that gives me this error, for instance:
>> 
>>> The requested URL /Library/Application 
>>> Support/4D/com.aparajita/web/files/login.a4p was not found on this server
>> 
>> As you can see, it gives you the complete path to the file.
> 
> Hmmm...that looks like it is being requested with the file: protocol. Have 
> you checked the request the browser is sending when posting to that page?
> 
> Also, what happens if you enter http://files/login.a4p directly in the 
> browser's address bar?
> 
> Did you make sure that the permissions of all the folders in the path are at 
> least 755?
> 
> 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://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to