I am using Apache 2.2. Now in that, I have done some changes: if any request on my port I want to send back http status code 404.
Now I have 3 ports running on my Apache Server:
If the request comes on the third port I want to send back to the user
404 http status code.
Currently I have this in my
RedirectMatch 404 ".*" ErrorDocument 404 "Not Found"
Now how can I do this for a specific port, if the request comes in to that port?