Link to home
Start Free TrialLog in
Avatar of poisonbox
poisonboxFlag for China

asked on

IBM/Apache HTTP Server Rewrite rule

Dear All,

I have question regarding IBM/Apache HTTP Server URL Rewriting, I appreciate it if anyone could explain the difference of enclosed two URL rewrite rule and effect of the entry "RewriteCond %{HTTP:DECRYPTED} True", as I seem to could not find any information related to HTTP:DECRYPTED in the internet.

Regards,
Clark
1) Rule 1
RewriteCond %{HTTP:DECRYPTED} True
RewriteCond %{HTTP_HOST} ^myhost.com$  [NC]
RewriteRule ^(.*)$ https://www.myhost.com/xxx [L,R]
==========================================================================
2) Rule 2
RewriteCond %{HTTP_HOST} ^myhost.com$  [NC]
RewriteRule ^(.*)$ https://www.myhost.com/xxx [L,R]

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of caterham_www
caterham_www
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of giltjr
Are you using the IBM HTTP sever to front end WebSphere?  I vaguely remember see the HTTP header DECRYPTED some place, but I can't seem to remember where.
Avatar of poisonbox

ASKER

giltjr,

YES, I am using IBM HTTP server to front end WebSphere.

Regards,
Clark
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
giltijr,

I have a load balancer in front of IHS servers.

Regards,
Clark
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial