apache - How can I get my website to display a .c file instead of trying to make the user download it? -
My webserver is Apache (though I do not have admin rights on it).
In my directory, I have something The files that I would like to show to the user to view in my browser
At present, the website tries to download the files rather than just displaying them to the user.
How can I fix this? What some kind of Does the Htaccess move?
put:
AddType text / plain. C
should work in .htaccess.
Comments
Post a Comment