Page 1 of 1

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

Posted: Wednesday 17 March 2021 7:38
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

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

Posted: Wednesday 17 March 2021 11:30
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.