Access to a file from outside with http ......

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
sombretjc
Posts: 2
Joined: Monday 02 November 2020 14:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Access to a file from outside with http ......

Post by sombretjc »

Hello,

I need to have access to a file contained in my domoticz server from outside in the form:

http: // mydomain / accesspath / file

I manage to access my server by doing http: // mydomain but as soon as I add the path to the file I have a 404 not found return

I specify that port 80 is open and redirected to my server.

Does anyone have an idea?

With many thanks
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Access to a file from outside with http ......

Post by erem »

check that the user running the http server has rights to the dir/file you are trying to access.

having said that, it is a BAD idea to open your server to the world using http.
at a minimum use https, failtoban, firewall rules etc.

and keep an offline backup.
Regards,

Rob
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest