config apache server to list php, c/c++, java files as regular txt on website,
Hi all,
I'm new to linux and apache server,
I try to config my apache server to list all my files:
c/c++, php, java files, like the txt file on my server,
e.g
/var/www/mydomain/pub
i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,
if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,
Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
It would be appreciated for any suggestions... or some example for the config file..
Thx
|