1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[ASK] Access Restriction "HTTP Request field"?? What Can I do With It???

Discussion in 'Tomato Firmware' started by davipiero, Jun 5, 2009.

  1. davipiero

    davipiero Addicted to LI Member

    Hi,...

    What can I do in the following field?

    [​IMG]


    Thanks... I'm sorry if my question is such a newbie one. Because I am.


    :)
     
  2. nvtweak

    nvtweak LI Guru Member

    word text
    ^begins-with.domain.
    .ends-with.net$
    ^www.exact-domain.net$

    have a look at the example access restriction.
     
  3. bogderpirat

    bogderpirat Network Guru Member

    HTTP REQUESTS are brief communications that your browser will send to a server whenever you browse a site that starts with http://. this request, being directed at a certain server, will contain the name of the document you're requesting among some other things such as the http protocol version, time and date, your browser's name and encoding as well as compression capabilities.

    the HTTP REQUEST field works a little differently than what the actual http request's nature would imply; using this field you will be able to restrict (as in block) access to anything you'd usually see in your browser's address bar. that can be a specific domain (e.g. "www.google.com"), a specific folder (e.g. adblocking: "/ad/") or a file (e.g. "index.html). you can use placeholders like * for allowing any number of other characters in its sted, ? for allowing just one random character and apparently some regular expressions such as ^ (denoting the beginning of a url (minus the "http://")) and $ (denoting the end of the url).
     
  4. davipiero

    davipiero Addicted to LI Member

    Hey, thanks...
    Could you give me some examples on how to use it?
     
  5. bogderpirat

    bogderpirat Network Guru Member

    why yes!
     
  6. davipiero

    davipiero Addicted to LI Member

    And what is the meaning of those expressions?
     
  7. bogderpirat

    bogderpirat Network Guru Member

    why don't you take a look at the second paragraph of my first posting and then another one at the example again.
    i'm not quite sure how to explain it any differently...
     
  8. davipiero

    davipiero Addicted to LI Member

    Just the meaning of this one: ^www.exact-domain.net$

    Thank you...
     
  9. bogderpirat

    bogderpirat Network Guru Member

    begins with and ends with "www.exact-domain.net" - hence it is an exact domain blocking rule.
     

Share This Page