Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to take visited Website log? Post 302453142 by rajamadhavan on Tuesday 14th of September 2010 07:15:03 AM
Old 09-14-2010
Squid supports time based ACLs..For the given requirement the following config in squid.conf should fo the job I guess..

Code:
acl YOUTUBE dst www.youtube.com
acl DENIEDTIME time 09:00-11:00
http_access deny YOUTUBE DENIEDTIME
http_access allow YOUTUBE

For more info on squid ACL, refer
Squid-ACL FAQ

-Raja
This User Gave Thanks to rajamadhavan For This Post:
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

website

HELLO FELLOW GEEKS. PLZ CHECK OUT MY FRIENDS SITE AT http://isunshine.dhs.org or u can also join the message board at http://isunshine.dhs.org/scripts/ikonboard.cgi wixifer (1 Reply)
Discussion started by: wixifer
1 Replies

2. UNIX for Dummies Questions & Answers

remember last visited line in vim

hi, I know we can do this; but dont know how.. I open a file using vim..browse thru it and then say :wq after reaching some line; The next time I open the same file, I want vim to position the cursor on the line where I left last time; anyone? (2 Replies)
Discussion started by: spopuri
2 Replies

3. UNIX for Dummies Questions & Answers

visited websites

Hi guys, Im just wondering on where a network admin would view a list of visited websites in unix and where to block some websites? (3 Replies)
Discussion started by: jake2891
3 Replies

4. UNIX for Dummies Questions & Answers

how to create own website?

cud someone tell me how to create a website???:confused: plsss..... tnx alot!!!:):D (2 Replies)
Discussion started by: renytots07
2 Replies

5. UNIX for Dummies Questions & Answers

Website

Hey guys I know you probably get this question a lot but, I want to make a website, and I don't have any experience doing this. I have a iMac and i was wondering if there is someone you could refer me to or a site that will show me how to do it. Thanks. (2 Replies)
Discussion started by: mmecca21
2 Replies

6. Web Development

my website.please. help me.

hello!! well, i am planning to make my own virtual pet site like that of a neopets. unfortunately i don't have any idea on how to do it.. i've tried searching in the net, but the result is really complicated. i don't know where to begin.i have already drawn some that i think would help... (2 Replies)
Discussion started by: ackiemae
2 Replies

7. UNIX for Dummies Questions & Answers

go to previously visited directory

Is there a way to go back to the previously visited directory? say im in /dir1 then went to /dir2 and wanted to go back to /dir1. besides from aliasing every directory i have, i was wondering if there's a way to maybe alias a command to go to the previously visited directory just to make it more... (8 Replies)
Discussion started by: swag:þ
8 Replies

8. UNIX for Dummies Questions & Answers

Getting the source of website

Hi MAy i know how i can get html source of a given site in a file using bash script? I want to store the html source of the site in a file so that i can parse that file. Thanks, (1 Reply)
Discussion started by: pandeesh
1 Replies

9. Web Development

Help with ht5boilerplate - website.

need a little help with this below MAVEN DAZZ what i need is ?!! a) To make sure, that logo stays on top (left hand side) -fixed in this navigation bar. on the same navigation bar (MENU) should stay on the other right hand side. Can anyone explain me how will this work. i am new to... (0 Replies)
Discussion started by: dazdseg
0 Replies
ext_session_acl(8)					      System Manager's Manual						ext_session_acl(8)

NAME
ext_session_acl - Squid session tracking external acl helper. Version 1.2 SYNOPSIS
ext_session_acl [-t timeout ] [-b database ] [-a] DESCRIPTION
ext_session_acl maintains a concept of sessions by monitoring requests and timing out sessions. The timeout is based either on idle use ( -t ) or a fixed period of time ( -T ). The former is suitable for displaying terms and conditions to a user; the latter is suitable for the display of advertisments or other notices (both as a splash page - see config examples in the wiki online). The session helper can also be used to force users to re-authenticate if the %LOGIN and -a are both used. OPTIONS
-t timeout Idle timeout for any session. The default if not specified (set to 3600 seconds). -T timeout Fixed timeout for any session. This will end the session after the timeout regardless of a user's activity. If used with active mode, this will terminate the user's session after timeout , after which another LOGIN will be required. LOGOUT will reset the session and timeout. -b path Path to persistent database. If a file is specified then that single file is used as the database. If a path is specified, a Berkeley DB database environment is created within the directory. The advantage of the latter is better database support between multiple instances of the session helper. Using multiple instances of the session helper with a single database file will cause synchronisation problems between processes. If this option is not specified the session details will be kept in memory only and all sessions will reset each time Squid restarts its helpers (Squid restart or rotation of logs). -a Active mode. In this mode sessions are started by evaluating an acl with the argument LOGIN , or terminated by the argument LOGOUT . Without this flag the helper automatically starts the session after the first request. CONFIGURATION
The ext_session_acl helper is a concurrent helper; therefore, the concurrency= option must be specified in the configuration. Passive session configuration example using the default automatic mode external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/ext_session_acl acl session external session http_access deny !session deny_info http://your.server.example.com/bannerpage?url=%s session Then set up http://your.server.example.com/bannerpage to display a session startup page and then redirect the user back to the requested URL given in the url query parameter. AUTHOR
This program and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net> Andrew Beverley <andy@andybev.com> COPYRIGHT
This program and documentation is copyright to the authors named above. Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org> REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. Report bugs or bug fixes using http://bugs.squid-cache.org/ Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org> Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org> SEE ALSO
squid(8), GPL(7), The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq The Squid Configuration Manual http://www.squid-cache.org/Doc/config/ 9 October 2011 ext_session_acl(8)
All times are GMT -4. The time now is 02:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy