ACE URL rewrite issue

Answered Question
Apr 6th, 2009
User Badges:

I need to change the URL in the request from https://www.example.com to https://www.example.com/es/example/


I have tried several ways,both using location and Host, putting the dot and the slash between brackets [.] [/] with (.*) and %1, but none of them works.


If I check with show stats http, the counter of static parse errors increments and I have only achieved counts in the headers rewritten counter when changing the requests from http://www.example.com to http://www.example.com/es/example/


Is there any issue for this feature to add slashes / to the link in the SSL service?


Thanks,


Correct Answer by Gilles Dufour about 8 years 1 month ago

do you do ssl termination ?

If not, you can't modify the ssl content.

If yes, the procedure should be the same as for HTTP and you just add the ssl-proxy.


Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Gilles Dufour Tue, 04/07/2009 - 04:55
User Badges:
  • Cisco Employee,

do you do ssl termination ?

If not, you can't modify the ssl content.

If yes, the procedure should be the same as for HTTP and you just add the ssl-proxy.


Gilles.

juanrin75 Tue, 04/07/2009 - 06:58
User Badges:


No, the request is forwarded to an access gateway...


Thanks for the reply!

Mehdi_ab Wed, 04/08/2009 - 08:52
User Badges:

Wouldn't something like this work:

header rewrite request host header-value www[.]example[.]com replace www[.]example[.]com[/]es[/]example


Edit: I made the assumption that you do terminate the SSL tunnel on the ACE and that you have a SSL proxy configured to rewrite from http to https.

Actions

This Discussion