hello,
i have an odd problem with my server.
i got directadmin installed with apache 2.2 , php is configured and everything works nice.
the only problem is when someone trys to download a file with an odd extention, the browser wont give out the file size.
the system is an file upload system, which takes a file with file.rar extention and changes it to file.1_rar
when a user trys to download, a php system changes the extention back to .rar ,but apache wont handle it correctly and give us unknown filetype , and unknown size.
as for file type , i have added the odd mime types manualy, so now it shows us the type correctly , but the file size dose not work.
we have tryed installing the same system on a cPanel based server with apache 2.2 , and there it works perfectly.
we dont like working with cPanel, and prefer to work stricly with DirectAdmin as it is much better, but this issue looks like a DA config problem of some kind.
please advice, what should we do? how can we make it work on our DirectAdmin based server too?
- note we dont have root access on the cPanel server, only on the DirectAdmin server, so we cannot check the httpd.conf there.
i have an odd problem with my server.
i got directadmin installed with apache 2.2 , php is configured and everything works nice.
the only problem is when someone trys to download a file with an odd extention, the browser wont give out the file size.
the system is an file upload system, which takes a file with file.rar extention and changes it to file.1_rar
when a user trys to download, a php system changes the extention back to .rar ,but apache wont handle it correctly and give us unknown filetype , and unknown size.
as for file type , i have added the odd mime types manualy, so now it shows us the type correctly , but the file size dose not work.
we have tryed installing the same system on a cPanel based server with apache 2.2 , and there it works perfectly.
we dont like working with cPanel, and prefer to work stricly with DirectAdmin as it is much better, but this issue looks like a DA config problem of some kind.
please advice, what should we do? how can we make it work on our DirectAdmin based server too?
- note we dont have root access on the cPanel server, only on the DirectAdmin server, so we cannot check the httpd.conf there.