Jump to content

SteiniPe

Member
  • Posts

    3
  • Joined

  • Last visited

About SteiniPe

SteiniPe's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I want to know, is this supported in 5.3.10. Can we reasonably expect this to work in future releases like so many other addons really do without saying it.
  2. Hello, Nevermind this, I totally forgot that I can just alter the link in the .tpl file!<a href="supporttickets.php"><span class="stat">{$sidebarstats.tickets.awaitingreply}</span> {$_ADMINLANG.stats.ticketsawaitingreply}</a></div>
  3. The issue I am facing is a very simple one which I can not find a solution to. I can do it with an IF statement but it will still not work completely like I want it to, the code for IF is like this if ( $request_filename ~ supporttickets.php ) { rewrite https://<sitegoeshere>/addonmodules.php?module=TicketDepartmentBoxes redirect; } This will work so when you goto Site.com/supporttickets.php => Site.com/addonmodules.php?module=TicketDepartmentBoxes but what I do not want is Site.com/supporttickets.php?view&id=X => Site.com/addonmodules.php?module=TicketDepartmentBoxes If I can somehow isolate so it stops after .php and does not also read into ?view... then IF can work, I tried something like location ~ /admin/supporttickets.php$ { rewrite ^ /admin/addonmodules.php?module=TicketDepartmentBoxes redirect; } This doesn't work it will redirect the "Tickets awaiting reply" link to the module, but once you click the links in the module to goto supporttickets.php?action&view=id it grabs it AGAIN and reroutes to the same module index. anyone have any clue how I can isolate the regexp so the URL will end at .php and not catch the link if it has variables appended to it in Nginx
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated