Welcome! Log In Create A New Profile

Advanced

Re: Invalid content types served when using alias

October 24, 2012 10:08AM
On Oct 24, 2012, at 15:52 , Tom van der Woerdt wrote:

> Yes, that's the URL I am using. Using default_type is possible but it still feels like a bug, especially since the actual file it's serving does end with .js. I know it's possible with a rewrite but that also feels like a hack instead of a real solution, especially since the file I'm serving is outside the website's root folder.

This is not a bug but intentional behavior.
default_type should be used here.


--
Igor Sysoev
http://nginx.com/support.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Invalid content types served when using alias

Tom van der Woerdt 2877 October 23, 2012 07:50PM

Re: Invalid content types served when using alias

wandenberg 1178 October 23, 2012 11:08PM

Re: Invalid content types served when using alias Attachments

Tom van der Woerdt 920 October 24, 2012 05:00AM

Re: Invalid content types served when using alias

wandenberg 964 October 24, 2012 06:02AM

Re: Invalid content types served when using alias Attachments

Tom van der Woerdt 808 October 24, 2012 06:06AM

Re: Invalid content types served when using alias

wandenberg 1130 October 24, 2012 07:46AM

Re: Invalid content types served when using alias Attachments

Tom van der Woerdt 777 October 24, 2012 07:54AM

Re: Invalid content types served when using alias

wandenberg 1013 October 24, 2012 08:00AM

Re: Invalid content types served when using alias Attachments

Tom van der Woerdt 1000 October 24, 2012 08:04AM

Re: Invalid content types served when using alias

Igor Sysoev 984 October 24, 2012 10:08AM

Re: Invalid content types served when using alias

Vladimir Shebordaev 816 October 24, 2012 10:00AM

Re: Invalid content types served when using alias

Tom van der Woerdt 708 October 24, 2012 10:24AM

Re: Invalid content types served when using alias

Maxim Dounin 685 October 24, 2012 10:34AM

Re: Invalid content types served when using alias

Vladimir Shebordaev 662 October 24, 2012 03:40PM

Re: Invalid content types served when using alias

Vladimir Shebordaev 823 October 25, 2012 10:20PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 146
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