ini file download permissions

Hello.
I use Windows Server 2008 R2 on my externally hosted hybrid dedi server.

I have 2 files in a directory. One file is an exe, the other is an ini file.

Using save as over a URL link, I can download the exe file but it fails on the ini file.
Clicking the link causes a 404 error but the file does exist and the path is correct.

Changing the ini file to txt allows it to be downloaded.

Is there a system/security block on the downloading of ini files ?

The file is located in inetpub/wwwroot and the url is http://sirann.co.uk/
The top link fails, the bottom works.

I thought it might be a CHMOD issue but understand its not a windows option.
I looked at the basic file permissions but saw no difference between exe and ini.

Any guidance welcome.


  • Edited by ZathGB Friday, February 13, 2015 1:12 PM added "over a url link"
February 13th, 2015 1:17pm

Hi,

Would you please let me confirm whether run the site on IIS? Did you restart the server and monitor the result? Any difference?

In addition, IIS will serve files for which the extension matches a defined MIME type. For more details, please refer to following KB.

IIS 6.0 does not serve unknown MIME types

If want to allow .ini file to be downloaded, please define a MIME type for the specific extension.

Add a MIME Type (IIS 7)

If any update, please feel free to let me know.

Best regards,

Justin Gu

Free Windows Admin Tool Kit Click here and download it now
February 16th, 2015 1:45am

Thanks for responding.
The files are situated in the inetpub / wwwroot folder and is seen by IIS but have made no setting changes within IIS, I simply added it to the location.

 
February 16th, 2015 6:19am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics