Somehow we've made this work before realising it wasn't supposed to be possible! 😅
The background is that we wanted to be able to print some QR codes based on a ticket number sequence (ie. 22001 to 22999) This can then be used to link an object to a 'registration' ticket.
This is what we did in apache to make the redirect work without doing the lookup to the actual ticket_ID:
scp/tickets.php?a=search&search-type=typeahead&number=22001
I didn't construct this myself, so don't know the full limitations here, but I assume we count on our 22nnn sequence being unique across our install (which we can reasonably do).
Not ideal but better than having to do a join to get the actual ticket_id for this purpose (since it's a .htaccess URL rewrite). In an ideal world I would love to have a native isTicket construct that can bring a ticket up based on "topicId" + ticket "number" but for now this seem to do the job.