accesslog.format = “%{X-Forwarded-For}i %v %u %t \”%r\” %s %b \”%{User-Agent}i\” \”%{Referer}i\””

其中”%{X-Forwarded-For}i 就是记录了用户来源的ip地址

7 thoughts on “squid后面的lighttpd日志记录用户ip的方法”

  1. [Comment ID #30234 Will Be Quoted Here]
    严格来说, X-Forwarded-For header的值不能完全信任..Lighttpd的extforword可以限定来源地址,对非信任地址直接记录成127.0.0.1

  2. Hi would you mind sharing which blog platform you’re using?
    I’m planning to start my own blog soon but I’m having a
    hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique.
    P.S My apologies for being off-topic but I had to ask!

  3. Awesome website you have here but I was curious if you knew of any discussion boards that
    cover the same topics talked about here? I’d really love to be a
    part of online community where I can get advice from other knowledgeable individuals that
    share the same interest. If you have any recommendations, please let me know.
    Thank you!

  4. What i do not realize is in truth how you are no longer actually much more neatly-liked
    than you might be now. You’re so intelligent.
    You recognize therefore considerably when it
    comes to this matter, made me individually imagine it from numerous various angles.
    Its like women and men are not involved unless it is one thing to do
    with Girl gaga! Your individual stuffs nice.
    Always maintain it up!

  5. I really like your blog.. very nice colors & theme.
    Did you create this website yourself or did you hire someone to
    do it for you? Plz answer back as I’m looking to design my own blog and would like to
    know where u got this from. thanks a lot

  6. Excellent pieces. Keep posting such kind of info on your blog.
    Im really impressed by it.
    Hi there, You have done a fantastic job. I’ll definitely digg it and individually suggest to
    my friends. I’m sure they’ll be benefited from this website.

  7. Thanks for your personal marvelous posting! I definitely enjoyed
    reading it, you’re a great author.I will make certain to bookmark your blog and will often come back later
    on. I want to encourage you to ultimately continue your great
    writing, have a nice holiday weekend!

  8. Simply wish to say your article is as surprising. The clearness for your submit is simply excellent and i could assume you’re
    a professional in this subject. Well with your permission allow me to clutch your feed to keep up to date with imminent post.
    Thanks a million and please carry on the rewarding work.

  9. Very good site you have here but I was curious about if you knew of any message boards that cover the same topics discussed in this article?
    I’d really love to be a part of group where I can get feedback
    from other experienced individuals that share
    the same interest. If you have any suggestions, please let me know.

  10. Hi there, just became alert to your blog through Google, and found that it is truly informative.
    I’m going to watch out for brussels. I’ll be grateful if you continue this
    in future. Lots of people will be benefited from your writing.


  11. Write more, thats all I have to say. Literally, it seems as though you
    relied on the video to make your point. You clearly know what youre talking
    about, why throw away your intelligence on just posting videos to your site
    when you could be giving us something enlightening to read?

  12. Undeniably imagine that which you stated. Your favorite justification appeared to be
    on the net the simplest factor to have in mind of. I say to you, I definitely get annoyed
    whilst other folks think about issues that
    they just don’t know about. You controlled to
    hit the nail upon the highest as neatly as outlined out the whole thing without having side-effects , other people could take
    a signal. Will likely be back to get more.


  13. Have you ever thought about adding a little bit more than just your articles?

    I mean, what you say is important and everything. However think of if you added some great graphics or video clips to give your posts more, “pop”!
    Your content is excellent but with images and clips, this blog could undeniably be one of the very
    best in its niche. Wonderful blog!

Leave a Reply

Your email address will not be published. Required fields are marked *

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image