Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Joomsef with internal apache redirects
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Joomsef with internal apache redirects

Joomsef with internal apache redirects 10 years ago #44323

Hi,

Im currently using Joomsef 4.2.3 and trying to do the following.

Urls in the form
/success/[0-9]+


should be redirected internally to
/index.php?option=com_componant&view=success&layout=success


to do this I just added a rewrite rule, But instead it shows a 404 page, as the REQUEST_URI is still set and joomsef is looking it up, Not finding a result and showing the 404.

Is there a way of mapping a url like
/success/some_regex
to a set page ?
Thanks
Last Edit: 10 years ago by wc_scott.

Re: Joomsef with internal apache redirects 10 years ago #44325

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

We never tested this, but according to this topic: stackoverflow.com/questions/18618142/apa...-value-from-htaccess
you should be able to achieve this by using mod_proxy on your server and adding the [P] flag to your RewriteRule:
httpd.apache.org/docs/current/rewrite/flags.html#flag_p
ARTIO Support Team

Re: Joomsef with internal apache redirects 10 years ago #44328

That works great. Thanks !
  • Page:
  • 1
Přihlášení uživatele Prázdný