B4J Question [ABMaterial] StaticFilesFolder stopped to work

peacemaker

Expert
Licensed User
Longtime User
HI, All

Before in my app based on ABM the root "www" folder was working OK for static files, like http://10.8.0.2/image1.jpg.
It is folder
B4X:
Main.Server.srvr.StaticFilesFolder

I'm using it for such interface to compare 2 photos of maximal size:
1697444371838.png


So, i have to copy image files dynamically to the www folder. (i know that seems, better to remake the interface to ABM also, but question is another now).

My server is my home extra PC with Ubuntu, and recently it was PHP and MySQL manually installed, with some settings of Nginx (Apach2 is not used at all).
So, the static files from /home/user/project_folder/www folder is now ... 404 on the browser (direct links like http://10.8.0.2/image1.jpg).

How to fix it ? what to be checked ?
 
Top