Welcome! Log In Create A New Profile

Advanced

Re: map problem : how to debug it ?

April 13, 2022 05:41AM
Thanks a lot for all your answers !

Since I have the case below with anchor (fragment-ID in URL to map to one specific action in my doc.map :

/Doc.html#case1 https://domain2.com/action1;
/Doc.html#case2 https://domain2.com/action2;
/Doc.html https://domain2.com/action3;

How can I do this kind of mapping with Nginx ?

For the moment, my conf is :
map $uri $new_uri {
include /etc/nginx/conf/doc.map;
}

If I type https://domain1.com/Doc.html, the map for action3 works but if I type https://domain1.com/Doc.html#case1 or https://domain1.com/Doc.html#case2, the map doesn't work.

Any idea how to solve that ?

Thanks in advance for your help.

Gilles
Subject Author Posted

map problem : how to debug it ?

gperrot April 12, 2022 05:16AM

Re: map problem : how to debug it ?

Sergey A. Osokin April 12, 2022 08:36AM

Re: map problem : how to debug it ?

Igor Ippolitov April 12, 2022 09:46AM

Re: map problem : how to debug it ?

gperrot April 13, 2022 05:41AM

Re: map problem : how to debug it ?

Igor Ippolitov April 13, 2022 06:50AM

Re: map problem : how to debug it ?

gperrot April 13, 2022 08:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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