narrowgauge
92 year oldTrainz veteran
I'm struggling with downloads of files with .CDP extensions from a Godaddy Linux Cpanel hosted domain. All other extensions behave correctly but any .CDP type file is unpacked and shows the full contents of the CDP.
Godaddy suggested adding a 'Web.config' file containing:-
This is not effective. It is worth noting that other Godaddy Windows based sites do not have this problem which does seem to confirm that Linux is the problem.
I would be most grateful for a solution to this problem. In fact, if I was younger, I would name my next child after whoever solves this dilemma.
Peter
Godaddy suggested adding a 'Web.config' file containing:-
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension="cdp" mimeType="application/compressed" />
<mimeMap fileExtension="cdp2" mimeType="application/compressed" />
<mimeMap fileExtension="cdp3" mimeType="application/compressed" />
</staticContent>
</system.webServer>
</configuration>
This is not effective. It is worth noting that other Godaddy Windows based sites do not have this problem which does seem to confirm that Linux is the problem.
I would be most grateful for a solution to this problem. In fact, if I was younger, I would name my next child after whoever solves this dilemma.
Peter