Web Hosting Talk







View Full Version : redhat host


goodwebhost
10-07-2004, 02:53 PM
okie, I have my own server on the side for testing purpose, my problem is, After I updated it, I am talking about redhat 9, Lets say a file ends, in .exe it wont aloud it to download, but if I change it to .EXE it will aloud it, weird Heh, only if the files extension is chane to capital letters, but this only happens with .exe fine no other

wowtim
10-07-2004, 09:27 PM
You can Take a look here and see if this helps.

Steps:
1) Locate your apache configuration file.
#unix Prompt > updatedb
#unix Prompt > pico /etc/httpd/httpd.conf
2) Check for AddTypes In httpd.conf
Hit CTRL + W
Type "addtype" then hit enter
scroll down and see if there is:
AddType application/x-?????-??? .exe
3) If this line does Exist Comment it out with the # sign
#AddType application/x-?????-??? .exe

4)Restart apache
/etc/init.d/httpd restart
or
killall -HUP httpd

Hope this helps.

wowtim
10-08-2004, 01:59 AM
I apologize about that, The last post was possibly incorrect. Linux operating system is case sensitive so if the file you are trying to download is nammed: file.EXE the the url you are sending out for needs to be file.EXE, if it askes for file.exe the file doesn't exist