Search This Blog

Loading...

Friday, February 12, 2010

AllowEncodedSlashes Directive

Sometimes our web application fails to process request when the URL contains encoded slashes (it can be forward slash or backword slash). To avoid such kind of situations we should modify configurations in Http Apache server. Add below directive to httpd.conf file.

AllowEncodedSlashes On|Off

It determines whether encoded path separators in URLs are allowed to be passed through.
The default value will be Off. Turn it On.
The AllowEncodedSlashes directive allows URLs which contain encoded path separators (%2F for /  and additionally %5C for \ on according systems) to be used. Normally such URLs are refused with a 404 (Not found) error.

No comments:

Post a Comment