سؤال

I want to restrict all visitors (by user-agents) from visiting my site, except some special user-agents (say visitors using Firefox or so...)

Please show me a way to deny all, but allow those special visitors.

هل كانت مفيدة؟

المحلول

You can use UrlRewrite plugin to check for user-agent strings and redirect to an access restricted page.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top