How to Inject html in outgoing responses using Apache Substitute module
Wednesday, March 14, 2012
In some cases, you need to manipulate the outgoing response before bein sent to the end user.
This post if focusing on manipulating the response html body when you are using Apache as reverse proxy. There is a specific Apache module called mod_substitute which is able to change the html body based on what you need.
In this example, we need to inject a javascript tag into our outgoing responses t ..
Fix HTTP Server Variables Passing Through Proxy to Web Server
Monday, February 27, 2012
There are some cases when the requests to the web servers should pass through reverse proxy and load balance servers. This may cause some issues for those components in the website which are relying on the Server Variables and Http Headers. So we need a solution to fix this and restore the original values. However, this is depended on the proxy you are using. Here is a summary of the problem and t ..
How to create custom visitors group criteria for EpiServer
Friday, February 24, 2012
In this post, I am trying to simply show how to create a custom EpiServer Visitors Group rule which will apear in the Visitor Groups Criteria in the EpiServer CMS 6.
Assume that you want to provide custom content for visitors in different roles. Therefore, we want to have a custom criteria in the EpiServer to specify the roles and then customise the content.
I will show the step by step actions ..
Amazon S3 VPP for EpiServer
Friday, February 17, 2012
EpiServer default VPP provider is using File System to tore the assets. It's easy to configure and use. All you need to do is to specify the virtual paths and the provider you are using in the configuration file (episerver.config in EpiServer 6) and EpiServer will instantiate the provider based on the Provider Pattern.
While moving to Amazon cloud to take advantage of S3 buckets and cloud front d ..
How Amazon CloudFront Caching Works
Friday, February 17, 2012
Assuming that assets are stored in the Amazon S3 bucket and a CloudFront distribution has been created as the content delivery for the clients, we can consider different caching scenarios to access S3 objects through CloudFront distributions.
CloudFront Caching Workflow
1. When the first request for an object is sent to the CloudFront edge by a client, CloudFront edge looks into it own cache and ..
About Kayvan
Kayvan (pronounced K1) is a .Net developer at
RBI London. I like C# and technology internals. I used to be a C++ programmer
and a Borland fan.
I am interested in Microsoft big brain: Anders Hejlsberg's work.
I am interested in Microsoft big brain: Anders Hejlsberg's work.
Tags
Tweets
Archive
♥Links
♥Tools
- Fiddler
- WebPageTest
- SoapUI
- PrototypeJs
- Jsfiddle
- Yslow
- ILSpy
