Welcome! Log In Create A New Profile

Advanced

Re: Trailing Slash redirection poblem

Francis Daly
May 02, 2016 05:20AM
On Sun, May 01, 2016 at 01:16:51PM +0500, Muhammad Yousuf Khan wrote:

Hi there,

> >>The configuration you have shown says "if the request is for /live/,
> >>ask the browser to instead request /live".
>
> >>The configuration you have not shown says "if the request is for /live,
> >>ask the browser to instead request /live/".
>
> Thanks for the tip I think I got the problem but could not resolve it.

If you make the request for "/live", what response do you actually want?

The contents of some file? The output of wordpress being given some
arguments? Be as specific as possible, and it is much more likely that
you will understand how nginx needs to be configured to do that.

> >>So: why do you want to remove the trailing slash, in the shown
> >>configuration?
> Actually this is a requirement from my client.

Sometimes, the correct response to a client requirement is "no".

It is not yet clear to me whether this is one of those times.

f
--
Francis Daly francis@daoine.org

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

Trailing Slash redirection poblem

Muhammad Yousuf Khan April 30, 2016 03:48AM

Re: Trailing Slash redirection poblem

Francis Daly April 30, 2016 04:42AM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 01, 2016 04:18AM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 01, 2016 04:20AM

Re: Trailing Slash redirection poblem

B.R. May 01, 2016 10:46AM

Re: Trailing Slash redirection poblem

Francis Daly May 02, 2016 05:20AM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 02, 2016 08:50AM

Re: Trailing Slash redirection poblem

Francis Daly May 03, 2016 03:24PM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 04, 2016 08:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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