Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to do an IP Divert From one ip to the other? Post 302521141 by kgrvamsi on Tuesday 10th of May 2011 10:07:38 AM
Old 05-10-2011
i have a Web application running on 10.0.0.3 and i have a IMS(intelligent monitoring System) wid ip 10.0.0.4 and i have a mysql replication chain of ip's from 10.0.0.5-10.0.0.8...where 10.0.0.5 behaves has the master.here i want to make the web aplication not to route directly to my database,it should first go to the IMS machine from there it should send the request to the database from there the rely should be sent to the web application.so here i want to know how can i make this architecture work practically??should i make my IMS as a proxy server????
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

divert output

i want to run a ksh script 'myscript' at the background and direct the system to return any error msg to /tmp/myscript.err and the output of 'myscript' to /tmp/myscript.out how do i do that at the command prompt? thank you. (3 Replies)
Discussion started by: kanang
3 Replies

2. IP Networking

Divert DNS traffic to another gateway

hello all, i have a local bind9 dns server running on debian. its default gateway is 10.0.0.x. This internet gateway has limited bandwidth. we have another high speed internet connection(adsl) and the gateway to access this connection is 10.0.0.y. all users in the office are using... (2 Replies)
Discussion started by: coolatt
2 Replies
squidclient(1)						      General Commands Manual						    squidclient(1)

NAME
squidclient -- a simple HTTP web client SYNOPSIS
squidclient [-arsv][-A string ][-g count] [-h remote-host] [-H 'string'] [-i IMS] [-I ping-interval] [-j 'Host-header'] [-l local-host] [-m method] [-p port] [-P file] [-t count] [-T timeout] [-u proxy-user] [-U www-user] [-V version] [-w proxy-password] [-W www-password] url DESCRIPTION
squidclient is a tool providing a command line interface for retrieving URLs. Designed for testing any HTTP 0.9, 1.0, or 1.1 web server or proxy. This tool can be combined with scripts to perform any basic HTTP operation. Some additional features for access to the Squid proxy object cache and management information are provided. OPTIONS
-a Do NOT include Accept: header. -A 'string' Send string as User-Agent: header. To omit the header completely set string to empty (''). -g count Ping mode, perform count iterations (0 to loop until interrupted). -h host Retrieve URL from cache on hostname. Default is localhost. -H 'string' Extra headers to send. Use ' ' for new lines. -i time If-Modified-Since time (in Epoch seconds). -I interval Ping interval in seconds (default 1 second). -j hosthdr Host header content -l host Specify a local IP address to bind to. Default is none. -m method Request method, default is GET. Squid also supports a non-standard method called PURGE. You can use that to purge a specific URL from the cache. You need to have purge access setup in squid.conf similar to manager access. Here is an example: acl purge method PURGE http_access deny purge !localhost -p port Port number of cache. Default is 3128. -P file PUT request. Using the named file. -r Force cache to reload URL. -s Silent. Do not print data to stdout. -t count Trace count cache-hops -T timeout Timeout value (seconds) for read/write operations. -u user Proxy authentication username -U user WWW authentication username -v Verbose. Print outgoing message to stderr. -w password Proxy authentication password -W password WWW authentication password -V version HTTP Version. Use '-' for HTTP/0.9 omitted case SEE ALSO
cachemgr.cgi(8), squid(8) AUTHOR
Derived from Harvest. Further developed by by numerous individuals from the internet community. Development is led by Duane Wessels of the National Laboratory for Applied Network Research and funded by the National Science Foundation. Squid Web Client Tool squidclient(1)
All times are GMT -4. The time now is 12:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy