From: dhoss Date: Sun, 1 Feb 2009 17:22:13 +0000 (+0000) Subject: added further documentation on Apache disallowing encoded slashes X-Git-Tag: 0.67_01~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=6df7d0aece4b37bbfa3c4a6941cf3c1343f72958 added further documentation on Apache disallowing encoded slashes --- diff --git a/lib/Catalyst/Action/REST.pm b/lib/Catalyst/Action/REST.pm index 06f1d6c..79e8ef3 100644 --- a/lib/Catalyst/Action/REST.pm +++ b/lib/Catalyst/Action/REST.pm @@ -163,7 +163,10 @@ L, L A: Most likely, you haven't set Content-type equal to "application/json", or one of the accepted return formats. You can do this by setting it in your query string thusly: -?content-type=application%2Fjson (where %2F == / uri escaped). **NOTE** Apache will refuse %2F unless configured otherise. +?content-type=application%2Fjson (where %2F == / uri escaped). + +**NOTE** Apache will refuse %2F unless configured otherise. +Make sure AllowEncodedSlashes On is in your httpd.conf file in order for this to run smoothly. =cut