[squid-users] Re: Help setting up a custom captive portal
Thanks for reply and suggestions, I found this discussion http://squid-web-proxy-cache.1019090.n4.nabble.com/Splash-page-doesn-t-work-on-every-web-browser-td4661496.html#a4661514 and I want to adopt the method used by Andrew Beverley, can you help me? What external helper he used? I like that method because I can code my custom captive portal in php, so I can do everything I want, but I just need to understand what will be saved in the db! P.S. That method can be edited to show the captive portal every hour (or so)? Thanks for your help! - You can put lipstick on a Pig, but it will remain a Pig! -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-setting-up-a-custom-captive-portal-tp4667499p4667502.html Sent from the Squid - Users mailing list archive at Nabble.com.
[squid-users] Re: Help setting up a custom captive portal
I suggest, you first start with a simple solution, before turning to Andrews. Have a look at the contents of (squid2.7-sources)/helpers/external_acl/session There you find squid_session.c with some description. For other versions of squid sources, you will find something similar, too. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-setting-up-a-custom-captive-portal-tp4667499p4667503.html Sent from the Squid - Users mailing list archive at Nabble.com.
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Amos, My machine has already installed C++ compiler. [root@localhost ~]# rpm -qa | grep -i c++ libstdc++-4.4.7-4.el6.x86_64 gcc-c++-4.4.7-4.el6.x86_64 libstdc++-devel-4.4.7-4.el6.x86_64 Regards Santosh System Monitoring Team | +91-8108846195 | 022-61041331 On Mon, Sep 1, 2014 at 7:19 PM, Amos Jeffries squ...@treenet.co.nz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Your machine is missing a C++ compiler. Squid is known to build on g++ and usually clang or Intel CC. Others are a best-effort situation. Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBHl6AAoJELJo5wb/XPRj/oEH/jDoqnX61gfzfR6IiCzWc0zF bhJEcArG7zwEVSjkCukXGh4x1HRLcbDpswEvN99maZDXKoSzvqkxWpD9W4gAr7iU 5ImocqSVLIinNWnyKYEbK8KKqX4Urj2TfObmsL/guNMuChcrEKZtw9D13DboSg2y aTJemwF1nKp5tOGxKriBREEuxvq1p685EvWogZMxDqPwsYyEIMoOXmGQkZjnfH7t HW5ZRxgbBXtRkD9Ou/NVHaBL51zssDtOb6rWLwxiEXGJ6XNnMDXyiDudMvB3bXPB 2L2uuZvQitnGyZIkqVhSqK9PyisbUa9bu7ORH0gGZ+fyjvIsKbdAHSR3hNdpVrI= =8IwO -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/09/2014 11:42 p.m., Santosh Bhabal wrote: Amos, My machine has already installed C++ compiler. [root@localhost ~]# rpm -qa | grep -i c++ libstdc++-4.4.7-4.el6.x86_64 gcc-c++-4.4.7-4.el6.x86_64 libstdc++-devel-4.4.7-4.el6.x86_64 Perhapse its not installed correctly then, or not in your available PATHs. Because autoconf is searching for one of these compiler binaries on your system: configure:5701: checking for g++ configure:5731: result: no configure:5701: checking for c++ configure:5731: result: no configure:5701: checking for gpp configure:5731: result: no configure:5701: checking for aCC configure:5731: result: no configure:5701: checking for CC configure:5731: result: no configure:5701: checking for cxx configure:5731: result: no configure:5701: checking for cc++ configure:5731: result: no configure:5701: checking for cl.exe configure:5731: result: no configure:5701: checking for FCC configure:5731: result: no configure:5701: checking for KCC configure:5731: result: no configure:5701: checking for RCC configure:5731: result: no configure:5701: checking for xlC_r configure:5731: result: no configure:5701: checking for xlC configure:5731: result: no configure:5755: checking for C++ compiler version ... command not found Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBwcMAAoJELJo5wb/XPRjrxwH+wUWXuQCIYLvM3My8JfR+Sv3 mPh746+Z61K5N9WZDQMOc7H14vuJ03wZmpgc/y8xjKCVr9qyPcxi81aJfspE2f+u yiIezPBVFs+/IirV3s19raCothP2+alAZd19Wu7EVtjY9BJvsA5W71wwgsmnmLah kVW+bquMoa9JMPJoy70CgR5RP3IfQd+9IdHcpCVf38lp31qleXAKw3ewQ2fScw3d ceAT63gcEEw0HDCve8mfUu26HyCRwUTWYNoMy3Re2CXHiWS7WywG1NKHGoZYN2jt DUMiYbKACdKCp1FU7KETb23PXb3esOzEGhI2rfD2ejPsMTp9Gt53XPb670TvKhc= =Cx5W -END PGP SIGNATURE-
Re: [squid-users] error: #error .... is not 32-bit or 64-bit
Amos, Just to confirm, please tell me one thing, i am installing squid-3.4.7.tar.gz, downloaded from http://ftp.riken.jp/net/squid/squid/squid-3.4.7.tar.gz URL. I am using CentOS release 6.3 (Final) x86_64 server. Is this the right version of squid source for my platform? Regards Santosh On Wed, Sep 3, 2014 at 5:48 PM, Amos Jeffries squ...@treenet.co.nz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/09/2014 11:42 p.m., Santosh Bhabal wrote: Amos, My machine has already installed C++ compiler. [root@localhost ~]# rpm -qa | grep -i c++ libstdc++-4.4.7-4.el6.x86_64 gcc-c++-4.4.7-4.el6.x86_64 libstdc++-devel-4.4.7-4.el6.x86_64 Perhapse its not installed correctly then, or not in your available PATHs. Because autoconf is searching for one of these compiler binaries on your system: configure:5701: checking for g++ configure:5731: result: no configure:5701: checking for c++ configure:5731: result: no configure:5701: checking for gpp configure:5731: result: no configure:5701: checking for aCC configure:5731: result: no configure:5701: checking for CC configure:5731: result: no configure:5701: checking for cxx configure:5731: result: no configure:5701: checking for cc++ configure:5731: result: no configure:5701: checking for cl.exe configure:5731: result: no configure:5701: checking for FCC configure:5731: result: no configure:5701: checking for KCC configure:5731: result: no configure:5701: checking for RCC configure:5731: result: no configure:5701: checking for xlC_r configure:5731: result: no configure:5701: checking for xlC configure:5731: result: no configure:5755: checking for C++ compiler version ... command not found Amos -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJUBwcMAAoJELJo5wb/XPRjrxwH+wUWXuQCIYLvM3My8JfR+Sv3 mPh746+Z61K5N9WZDQMOc7H14vuJ03wZmpgc/y8xjKCVr9qyPcxi81aJfspE2f+u yiIezPBVFs+/IirV3s19raCothP2+alAZd19Wu7EVtjY9BJvsA5W71wwgsmnmLah kVW+bquMoa9JMPJoy70CgR5RP3IfQd+9IdHcpCVf38lp31qleXAKw3ewQ2fScw3d ceAT63gcEEw0HDCve8mfUu26HyCRwUTWYNoMy3Re2CXHiWS7WywG1NKHGoZYN2jt DUMiYbKACdKCp1FU7KETb23PXb3esOzEGhI2rfD2ejPsMTp9Gt53XPb670TvKhc= =Cx5W -END PGP SIGNATURE-