08-23-2012
Change Log Path for Squid on Centos 6
I searched and did not find a useful answer. Can someone please tell me the best practice to change the log directory from /var/log to /opt/squid?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1. that you are calling the POSIX UNIX commands located under /usr/xpg4/bin instead of those under /usr/bin
2. that you can run programs from the current directory
3. that your scripts located in the bin directory under your HOME directory can be found and executed from any... (1 Reply)
Discussion started by: vpatel44
1 Replies
2. Shell Programming and Scripting
Hello,
I have a doubt:-
---------------------
Current script:-
################################################################################################
prefix=user@my-server:
find . -depth -type d -name .git -printf '%h\0' | while read -d "" path ; do (
cd "$path" || exit $?... (4 Replies)
Discussion started by: sahil_jammu
4 Replies
3. Red Hat
When trying to connect from Mozilla's FireFTP using anonymous or a FTP user on the CentOS 5.7, using VSFTPD I get the following error:
550 Failed to change directory.(View Attachment)
This is what I have in my vsftpd.conf file:
# Example config file /etc/vsftpd/vsftpd.conf # # The default... (1 Reply)
Discussion started by: jastanle84
1 Replies
4. Red Hat
Hello,
can someone suggest, how to configure server, when a new user that is created on the server centos 5.7, should be prompted to reset their password on his start login.
Thanks, (1 Reply)
Discussion started by: bobby320
1 Replies
5. IP Networking
Hello,
I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine.
I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies
6. Linux
Hi we have Centos Server and we have client machines using Ubuntu 12.04 and Win7,I Have Configured Squid only purposely for facebook denied, Cos User;s often being in fb so need to do it, have configured squid as transpernt , followed this How to install squid proxy on centos 6 steps to did it and... (1 Reply)
Discussion started by: babinlonston
1 Replies
7. Linux
Hi we have Centos Server and we have client machines using Ubuntu 12.04 and Win7,I Have Configured Squid only purposely for facebook denied, Cos User;s often being in fb so need to do it, have configured squid as transparent , followed this How to install squid proxy on centos 6 steps to did it and... (2 Replies)
Discussion started by: babinlonston
2 Replies
8. UNIX for Dummies Questions & Answers
I'm working on a centos 5.10 64bit desktop machine. I want to change the default terminal compiler to bash instead of csh/sh without root permissions.
Thanks in advance (4 Replies)
Discussion started by: aelhosiny
4 Replies
9. UNIX for Advanced & Expert Users
Hello,
We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration.
#Firewalld configurations
firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies
10. Linux
Hello,
Did anyone setup a CentOS7 as a gateway (with squid transparent proxy).
I am trying to do so but not able to setup.
I setup squid , iptables (using it instead of firewalld) and all the necessary IPtables rules but nothing work.
It work previously but access.log of squid not getting... (4 Replies)
Discussion started by: sunnysthakur
4 Replies
LEARN ABOUT SUSE
squid_session
squid_session(8) System Manager's Manual squid_session(8)
NAME
squid_session - Squid session tracking external acl group helper
SYNOPSIS
squid_session [-t idle_timeout] [-b dbpath] [-a]
DESCRIPTION
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle time-
out timer.
Intended use is for displaying "terms of use" pages, ad popups etc.
-t idletimeout (default 3600)
Specifies the session idle timeout timer.
-b dbpath
Path to persistent database. If not specified the session details will be kept in memory only and all sessions will reset each time
Squid restarts it's 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.
EXAMPLE
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/squid_session
acl session external session
http_access deny !session
deny_info http://your.server/bannerpage?url=%s session
Then set up http://your.server/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 helper and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net>
QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>.
REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid-
cache.org>
SEE ALSO
squid(8)
Version 1.0 19 March 2006 squid_session(8)