Welcome! Log In Create A New Profile

Advanced

Redirection problem again in new rules.

Muhammad Yousuf Khan
April 14, 2016 10:04AM
Hi,


there are multiple apache redirection rules that were working successfully.
for example something like this

Redirect 301 /aaaa/bbbbbbb /aaaaa/bbbbbb.html

Now i have converted this rule in nginx like this

location /aaaa/bbbbbbbb {
rewrite ^(.*)$ /aaaa/bbbbbbbbbb.html redirect;
}


i also tried adding "permanent" and rewrite line but also didn;t wrok.

now all redirection rules are keep giving error "redirection loops".
and when i disable the rule things back to normal. there is no duplication
happening as far as config is concern. i can confirm.

can you guys please advice how can i troubleshoot this and fix the issue.

your friendly advice is highly appreciated.

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

Redirection problem again in new rules.

Muhammad Yousuf Khan April 14, 2016 10:04AM

Re: Redirection problem again in new rules.

ph.gras April 14, 2016 11:20AM

Re: Redirection problem again in new rules.

Francis Daly April 14, 2016 01:06PM

Re: Redirection problem again in new rules.

Muhammad Yousuf Khan April 15, 2016 03:28AM

Re: Redirection problem again in new rules.

Francis Daly April 15, 2016 12:38PM

Re: Redirection problem again in new rules.

Muhammad Yousuf Khan April 16, 2016 03:24AM

Re: Redirection problem again in new rules.

Francis Daly April 16, 2016 08:38AM

Re: Redirection problem again in new rules.

Muhammad Yousuf Khan April 18, 2016 09:40AM

Re: Redirection problem again in new rules.

Francis Daly April 18, 2016 07:24PM

Re: Redirection problem again in new rules.

Muhammad Yousuf Khan April 20, 2016 06:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 114
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready