Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostsblock-urlcheck questions to write better manpage #63

Open
Wabuo opened this issue Jul 30, 2016 · 1 comment
Open

hostsblock-urlcheck questions to write better manpage #63

Wabuo opened this issue Jul 30, 2016 · 1 comment

Comments

@Wabuo
Copy link

Wabuo commented Jul 30, 2016

Hey I'm writing the hostsblock-urlcheck.8 manpage right now. #62

The questions:

  • how do I block only a sub.domain?
  • how do I block a whole domain?
  • how do I block only the given URL?
@Wabuo Wabuo mentioned this issue Jul 30, 2016
3 tasks
@pickfire
Copy link
Collaborator

@Wabuo Okay, these are general questions about /etc/hosts if I am correct.

how do I block only a sub.domain?

Type out the whole sub.domain just like that.

how do I block a whole domain?

Type out the whole domain without the subdomain

how do I block only the given URL?

I am not sure if you can do this with something like hosts, IIRC some proxies allow this (eg. polipo/privoxy) but of course you need to type in the whole link including the path.

Please correct me if I am wrong since I wasn't using hostsblock for a long time since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants