Home Forum
2024-12-22
Benvenuto, Ospite
Nome Utente Password: Ricordami

Using {query} Macro
(1 Online) (1) Ospite
  • Pagina:
  • 1
  • 2

ARGOMENTO: Using {query} Macro

Using {query} Macro 14 Anni fa #1668

  • rwwalker
  • Offline
  • Fresh Boarder
  • Messaggi: 9
FROM:
/fdnyc\?cid=[0-9]{1,12}&ord=[0-9]{1,4}&nc=[a-z]{1}

TO
abc.xyz.com/SE/?SID=SV_bfwuDnRSbBeCyig&{query}

The above works perfectly, but what is the difference if I used:

&{queryfull}
&{querybuild}
&{querybuildfull}

Thanks,

Bob Walker
L'Argomento è stato bloccato.

Re: Using {query} Macro 14 Anni fa #1670

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,

{query} takes ALL the query part (i.e. all parameters)
{queryfull} differs from {query} just because add the question mark at the beginning
{querybuild} allows you to take only certain parameters from the query parts of the matching url
{querybuildfull} differs from {querybuild} just because add the question mark at the beginning

Regards,
Luigi
L'Argomento è stato bloccato.

Re: Using {query} Macro 14 Anni fa #1672

  • rwwalker
  • Offline
  • Fresh Boarder
  • Messaggi: 9
Grazie mille!

One last question... in my FROM:

/fdnyc\?cid=[0-9]{1,12}&ord=[0-9]{1,4}&nc=[a-z]{1}

the part "&nc=[a-z]{1}" only accepts a single lower case lette? How would I express it if either a lower or upper case letter? Like this:

"&nc=[a-z,A-Z]{1}"

to capture both "y" and "Y"?

Thank you!
L'Argomento è stato bloccato.

Re: Using {query} Macro 14 Anni fa #1673

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
here is the answer:

dev.mysql.com/doc/refman/5.0/en/regexp.html

Your example should work without the comma [a-zA-Z]. You can also use the character classes [:alpha:]].

Regards,
Luigi
L'Argomento è stato bloccato.

Re: Using {query} Macro 14 Anni fa #1676

  • rwwalker
  • Offline
  • Fresh Boarder
  • Messaggi: 9
It is worth noting that:

/abc\?cid=[:digit:]]{1,12}&ord=[:digit:]]{1,9}&nc=[:alpha:]]

works, but that...

/abc\?cid=[:digit:]]&ord=[:digit:]]&nc=[:alpha:]]

...does NOT work, so it appears that a valid range of values must be specified when specifying a numeric class.

Feature request: I would like to give my redirects a name, like "Sends people to xyz.html" or similar.

Regards,

BW
Ultima modifica: 14 Anni fa Da rwwalker.
L'Argomento è stato bloccato.

Re: Using {query} Macro 14 Anni fa #1677

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
in the next release there will be a comment field as Tag Meta, that could be used to add titles or other notes.

Regards,
Luigi
L'Argomento è stato bloccato.

Re: Using {query} Macro 13 Anni, 11 Mesi fa #1729

  • rwwalker
  • Offline
  • Fresh Boarder
  • Messaggi: 9
Hi,

I have a redirect that was working beautifully for months and now I cannot get it to work. From my site (www.safllc.com), I want people sent with these parameters...

/fdnyc\?cid=[0-9]{1,13}&ord=[0-9]{1,5}&nc=[ynYN]{1}

...to be redirected to:

safllc.qualtrics.com/SE/?SID=SV_bvJm29YAM0xfcFu&{query}

I am now getting a 403 error:

Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

On another sister site, which I am trying to migrate to, I am sent back to the home page.

What am I doing wrong?

Thanks,

Bob Walker
L'Argomento è stato bloccato.

Re: Using {query} Macro 13 Anni, 11 Mesi fa #1731

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi Bob,
could you provide me an example of "source URL" that should be redirected? I would like to perform some tests by myself.

Regards,
Luigi
L'Argomento è stato bloccato.

Re: Using {query} Macro 13 Anni, 11 Mesi fa #1736

  • rwwalker
  • Offline
  • Fresh Boarder
  • Messaggi: 9
I really appreciate your help; ReDJ is being used in a critical application and I do not know what I have done wrong. It was working beautifully and I must have changed a setting somehow, perhaps by changing another component.

Base URL: www.safllc.com
From URL: /fdnyc\?cid=[0-9]{1,13}&ord=[0-9]{1,5}&nc=[ynYN]{1}
To URL: safllc.qualtrics.com/SE/?SID=SV_bvJm29YAM0xfcFu&{query}

I would be happy to make another donation, because it is important I get this fixed!

Best regards, and congratulations on becoming a dad.

Bob
L'Argomento è stato bloccato.

Re: Using {query} Macro 13 Anni, 11 Mesi fa #1737

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Thanks and be sure we will fix the problem.

So, from the item you have configured I've tried to call this URL:

www.safllc.com/fdnyc?cid=1&ord=1&nc=N

First, you should confirm that this is one of those who need to be redirected. If so, the problem if BEFORE Joomla and ReDJ, because i get an error directly from Apache web server. To fix this we should check the .htaccess file.

Let me know,
Luigi
L'Argomento è stato bloccato.
  • Pagina:
  • 1
  • 2
Moderatori: admin
Tempo generazione pagina: 0.49 secondi
Cerca con Google
News
Chi è online
 188 visitatori online
Sponsor

slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.