Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
6 years, 10 months ago
This question is
. It is not currently accepting answers.
a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers.
I have a website (apache2, php5, mysql) installed on Ubuntu VPS. When you load the web .txt file does not download but just look, do not know how to do to, for example, when I go to localhost / myfile.txt so instead of a text file to download are only displayed. I need to txt file automatically downloaded to the PC.
14k 4 4 gold badges 46 46 silver badges 97 97 bronze badges
Jul 25, 2016 at 22:43
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only