Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
291 views
in Q2A Core by
I would like to give my guests the possiblity to ask questions....but can I prevent proxies activity? Is their any plugin that might help?

1 Answer

0 votes
by
Hi Jack

if your server can use the .htaccess file that is included with the Q2A script then one method (which I use myself) is to open it and add the following:

# Block all proxies
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$


I hope this helps ;)
...