Allowing Slashes in URL with Apache

I have a url like this

so in normal situation, we only have 3 sub folder: countries,us,12/pensylvainia , but in Apache2 , it treats this as 4 : countries,us,12,pensylvania , Apache 2.4 cheats all url encoded slashes as normal slash , if you want to fix this you have to allow slash in the url.

    ServerName mywebsite.socm
    AllowEncodedSlashes On


Leave a Reply

Your email address will not be published. Required fields are marked *