Re: Issue with auto subdomain nd trailing slash

2013-02-22 Thread shumisha
Hi Francis, Thanks a lot for your message, I think I got things under control thanks to you! You're right, there's indeed a 301 thrown by nginx from http://subdomain..net/admin to http://.net/admin/ (as shown by the curl output). I had tried server_name_in_redirect to off before, to no a

Re: Issue with auto subdomain nd trailing slash

2013-02-22 Thread Francis Daly
On Fri, Feb 22, 2013 at 06:27:27AM -0500, shumisha wrote: > I am running into a weird issue, after having configured nginx 0.7.67 (comes > with debian 6) for serving PHP pages, with automatic subdomains. > It works fine for the most part, but when requesting a url that correspond > to an actual fo

Issue with auto subdomain nd trailing slash

2013-02-22 Thread shumisha
Hi All, I am running into a weird issue, after having configured nginx 0.7.67 (comes with debian 6) for serving PHP pages, with automatic subdomains. It works fine for the most part, but when requesting a url that correspond to an actual folder, but without a trailing slash, the subdomain recognit