Return 404 in apache2 using puppet?

asked 2018-11-29 04:16:14 -0600

roguebg gravatar image

Hello, all!

I tried to return error 404 when accessing some directories on a vhost. Let's say we have,,, etc waiting to be redirected to 404.

I used the following:

redirectmatch_dest      =>      ['', '', ''],
redirectmatch_status   =>      ['404', '404', '404']

But when I access the links they don't return 404. Any suggestions what is wrong here?

edit retag flag offensive close merge delete


tell us the name of the module that you are using and show youl whole code

c4f4t0r gravatar imagec4f4t0r ( 2018-12-02 04:37:14 -0600 )edit