I am trying to validate the following URL's
http://www.domain.com/foldername/%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd
But this was showing as 403 forbidden of default server error instead of customized error page
My .htaccess
file configuration is
ErrorDocument 404 /404.php
ErrorDocument 403 /403.php
For Example,
For this URL we got the customized error page https://stackoverflow.com/welcome
But If we execute this URL we got the default error page of server
https://stackoverflow.com/%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd
How to solve this issue?
Thanks in advance