Forum

URL Toolkit - return 404 instead of 403

malcolm
27 April 2013, 14:55
Is it possible to return an error 404 instead of 403 with url toolkit?
Match .*\/admin(.*) DenyAccess


Hiawatha version: v9.0
Operating System:Ubuntu 12.04 LTS
Hugo Leisink
27 April 2013, 16:33
Not directly, but you can fake it with a little trick:
Match .*\/admin(.*) Rewrite /this_file_will_very_likely_not_exist.html
malcolm
27 April 2013, 17:43
That's it. thank you
This topic has been closed.