To avoid cache poisoning, I was asked to create a dummy virtual host on my Apache Web Server, so that all the forged requests(which are not actually related to my application) will go to the dummy virtual host.
Below is my current virtual host:
<VirtualHost *:*>
DocumentRoot "cache location"
ServerName myappname
</virtualHost>
I'm trying to create a dummy virtual host with Server name as * and with a different cache location. This is what I tried:
<VirtualHost *:*>
DocumentRoot "another cache location"
ServerName *
</virtualHost>
How can I test that my dummy virtual host configuration works, and do I need to modify my configuration?