I am running Ubuntu, and have installed Apache. When I input my IP address on a web browser, I see the following message:
File browser: main.sh
main.exe is a file which exists in
/var/www/ in my computer, and also, the html
index.html also exists in the folder:
<html> <head> File Browser </head> <body> <a href = "/main.py">main.sh</a> </body> </html>
Now I want to let others download my file in
/home/user/anotherfile.sh, except moving
/var/www, how can I let others access that file?
If using Apache is inconvenient, any other ideas that implementing it?