router icon indicating copy to clipboard operation
router copied to clipboard

How to match www.xyz.com?refid=dfvvjvnvrff

Open jbeuria opened this issue 4 years ago • 3 comments

Dear team,

I want to match a url for www.xyz.com?refid=dfvvjvnvrff in this router. Can anyone help how to do that?

Best regards JB

jbeuria avatar May 16 '21 07:05 jbeuria

Query params aren't considered while looking for a matching route. Won't it be better practice to let your index script directly receive the necessary parameters? Otherwise you could try to append your refid like this http://www.xyz.com/dfvvjvnvrff or this http://www.xyz.com/refid=dfvvjvnvrff.

MarcDeckert avatar May 25 '21 10:05 MarcDeckert

In case you have an Apache / Nginx webserver you can simply create virtualhosts to create independent projects. Otherwise, you can simply take a look at Superglobals in PHP

~ Tim ✌🏻

uvulpos avatar Jun 23 '21 15:06 uvulpos

Hi, If PCRE pattern supported how can I build pattern for <oai?verb=identify> I tried many combination and it is not working. please help if you can.

ilearnbydoing avatar Aug 22 '21 07:08 ilearnbydoing