Welcome! Log In Create A New Profile

Advanced

Is there a length limitation on file extensions?

March 07, 2016 05:04PM
I am using Nginx to serve a website that hosts a .Net application. The file a user needs to download and that triggers installation is a *.application file, and an MS Internet Information Server associates that with the mime type application/x-ms-application. However that file never gets any Content-Type header. I edited the mime.types configuration file to include that, but Nginx ignores that. When I rename the file to .app, and use a mime type definition for that file it works. I also tried various other file extensions of varying length, and it looks like there is a limit of 10 characters in a file type extenion of Nginx, and if that is exceeded there will be no Content-Type header.
Is my assumption correct? Where is this in the source files? (I know how to compile Nginx). Or any other idea what causes my problem?
Thanks, Joachim
Subject Author Posted

Is there a length limitation on file extensions?

j.o.l March 07, 2016 05:04PM

Re: Is there a length limitation on file extensions?

A. Schulze March 07, 2016 05:36PM

Re: Is there a length limitation on file extensions?

j.o.l March 08, 2016 03:34PM

Re: Is there a length limitation on file extensions?

B.R. March 09, 2016 11:18AM

Re: Is there a length limitation on file extensions?

j.o.l March 09, 2016 01:06PM

Re: Is there a length limitation on file extensions?

j.o.l March 09, 2016 03:25PM

Re: Is there a length limitation on file extensions?

A. Schulze March 09, 2016 03:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 141
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready