Response headers using RewriteProxy directive
2 posts
• Page 1 of 1
- mattrewrite
- Posts: 12
- Joined: 17 Aug 2015, 09:37
Response headers using RewriteProxy directive
Hi,
I have a question about using the RewriteProxy directive.
I'm using something like the following
RewriteProxy ^/([A-Za-z0-9\-]+)/$ http://myotherwebsite.com/$1/ [H]
The above seems to work in for me - returns the content that I'd want to see.
The only problem is the response headers.
I'm seeing the response headers from the remote server from as well
So I'm getting a response with duplicate fields. e.g.
X-Powered-By:ASP.NET
X-Powered-By:PHP/7.0.15
Question is - how do I remove/suppress the remote site headers from my page response headers?
All the best,
Matt
I have a question about using the RewriteProxy directive.
I'm using something like the following
RewriteProxy ^/([A-Za-z0-9\-]+)/$ http://myotherwebsite.com/$1/ [H]
The above seems to work in for me - returns the content that I'd want to see.
The only problem is the response headers.
I'm seeing the response headers from the remote server from as well
So I'm getting a response with duplicate fields. e.g.
X-Powered-By:ASP.NET
X-Powered-By:PHP/7.0.15
Question is - how do I remove/suppress the remote site headers from my page response headers?
All the best,
Matt
- mattrewrite
- Posts: 12
- Joined: 17 Aug 2015, 09:37
Re: Response headers using RewriteProxy directive
I've just realised that I've posted this in the wrong forum; this is actually an ISAPI Rewrite 3 question. I'll move it there.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests