squid url redirection


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users squid url redirection
# 1  
Old 01-03-2012
squid url redirection

Hi all,

I'd like to point all of my domain traffic to a squid server that will figure for me the url redirection that needed to do:

all urls starting with:
mobile.*.mydomain.com
will go to server1 (tomcat server)
all others will go to server2 (apache server)

the catch is that the URL should not be changed because the tomcat\apache need it to know where to point...

what should I put in squid.conf to do so?

Thanks for the help you guys are the best! Smilie
Eliraz.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Reading URL using Mechanize and dump all the contents of the URL to a file

Hello, Am very new to perl , please help me here !! I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file. below is the script which i have written so far , #!/usr/bin/perl use LWP::UserAgent; use... (2 Replies)
Discussion started by: scott_cog
2 Replies

2. IP Networking

Squid vs iptables = no Squid access.log?

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

3. UNIX for Dummies Questions & Answers

Awk: print all URL addresses between iframe tags without repeating an already printed URL

Here is what I have so far: find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}' Here is an example content of a PHP or HTM(HTML) file: <iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies

4. Web Development

apache url redirection

I need help in apache url redirection: I have added the below command in httpd.conf and it is working fine. Redirect http://xyz.com/site/homehttp://abc.com/site/home Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied For... (0 Replies)
Discussion started by: raghur77
0 Replies

5. UNIX for Advanced & Expert Users

apache webserver url redirection

I need help in apache url redirection: I have added the below command in httpd.conf and it is working fine. Redirect http://xyz.com/site/homehttp://abc.com/site/home Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied For... (0 Replies)
Discussion started by: raghur77
0 Replies

6. Red Hat

URL Redirection

Hi Please help, how to setup I have a URL address http://10.XX.XX.XXX:1234/abc/login.jsp - running in linux How to redirect this to http://www.abc.com.ph This way the IP address and port will not be visible to the user many thanks (2 Replies)
Discussion started by: kaibiganmi
2 Replies

7. Web Development

Regex to rewrite URL to another URL based on HTTP_HOST?

I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST The call goes out to http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena The ID in the middle is always random due to the cookie. I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies

8. Shell Programming and Scripting

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

9. UNIX for Advanced & Expert Users

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

10. IP Networking

Squid Proxy URL rewriting

I have an architecture as below <> <> There is a program in the AIX server which sends SMS to the internet, by sending HTTP request to the SMS processing server. Like, http://smsserver/mysms=test However the application does not have an option to specify where the Proxy server... (1 Reply)
Discussion started by: firdousamir
1 Replies
Login or Register to Ask a Question
squid_radius_auth(8)                                          System Manager's Manual                                         squid_radius_auth(8)

NAME
squid_radius_auth - Squid RADIUS authentication helper SYNOPSIS
squid_radius_auth -f configfile squid_radius_auth -h "server" [-p port] [-i identifier] -w secret DESCRIPTION
This helper allows Squid to connect to a RADIUS server to validate the user name and password of Basic HTTP authentication. -f configfile Specifies the path to a configuration file. See the CONFIGURATION section for details. -h server Alternative method of specifying the server to connect to -p port Specify another server port where the RADIUS server listens for requests if different from the default RADIUS port. Normally not specified. -i identifier Unique identifier identifying this Squid proxy to the RADIUS server. If not specified the IP address is used as to identify the proxy. -w secret Alternative method of specifying the shared secret. Using the configuration file is generally more secure and recommended. -t timeout RADIUS request timeout. Default 10 seconds. CONFIGURATION
The configuration specifies how the helper connects to RADIUS. The file contains a list of directives (one per line). Lines beginning with a # is ignored. server radiusserver specifies the name or address of the RADIUS server to connect to. secret somesecretstring specifies the shared RADIUS secret. identifier nameofserver specifies what the proxy should identify itsels as to the RADIUS server. This directive is optional. port portnumber Specifies the port number or service name where the helper should connect. AUTHOR
This manual page was written by Henrik Nordstrom <hno@squid-cache.org> squid_radius_auth is written by Marc van Selm <selm@cistron.nl> with contributions from Henrik Nordstrom <hno@squid-cache.org> and many others QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>, or to your favorite RADIUS list/friend if the question is more related to RADIUS than Squid. 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
RFC2058 - Remote Authentication Dial In User Service (RADIUS) Squid RADIUS Auth 7 August 2004 squid_radius_auth(8)