I’m trying to serve/view a single [small] text file that is on Asterisk but not in the / directory. I set up http.conf and it appears to be working but when I http [http://myserver/the folder/thefile] to Asterisk all I’ve seen is 404 not found. I checked the file and folder permissions and I can cat the file while logged in as non-root. I think it has something to do with hostname but I can’t figure out what.
My http.conf
[general]
enabled=yes
enable_static=yes
bindaddr=0.0.0.0
Is enable static supposed to have an underscore? The sample file shows “enable_static=yes” but the wiki says enablestatic=yes
“The requested URL was not found on this server.
Asterisk/16.28.0”