Skip to content

neatbasis/redirect_rewrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redirect_rewrite

A simple redirector helper for Squid proxy

Uses regex to find a redirection url and returns the destination url to Squid It was made for converting Google and Facebook redirection URLs to their actual destination URLs in order to get rid of the redirection delay caused by waiting for response from Google or Facebook servers

Add your own matchers in redirect_rewrite.c or use it as it is.

Build it like this:

make

Copy redirect_rewrite somewhere like /usr/local/bin/ or use make install

make install

Modify your squid.conf to contain the path of the executable

url_rewrite_program /path/to/redirect_rewrite

About

A simple redirector helper for Squid proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages