I'd like to make a download folder on my Server that's accessible via http://download.domain.com/
and host files like file.txt
there.
This works with a URL frame, but they have to be includable via javascript (This doesn't seem to work when using a frame). Also if I just visit download.domain.com
without specifying a file I use the index.php file to redirect back to domain.com
How can I make file.txt
reachable via download.domain.com/file.txt
and don't show the real path in the address bar. Also if I get redirected to domain.com
from the download.domain.com
URL how can I show the real address in the addressbar (This doesn't seem to work when using a frame either).
I'm a bit lost since this is my first server with an actual toplevel domain and all this frame/ redirect/ a address stuff still is a bit confusing.
Thank you in advance for your answer.
download.domain.com
?