Find Jobs
Hire Freelancers

Perl Script Redirect

$30-250 USD

Closed
Posted over 13 years ago

$30-250 USD

Paid on delivery
I need a script similar to this one but that can It can identify url paramaters and convert them to new parameters In this example when typed [login to view URL] goes to [login to view URL] I need a script that when someone type [login to view URL];category=1 to redirect it to [login to view URL] category=5 I am using this script in my squid box !/usr/bin/perl $|=1; while () { @X = split; $url = $X[0]; if ($url =~ /^http:\/\/google\.com/) { print "302:https:\/\/yahoo\.com\n"; } elsif ($url =~ /^http:\/\/www\.google\.com/) { print "302:https:\/\/yahoo\.com\n"; } elsif ($url =~ /^http:\/\/gmail\.com/) { print "302:https:\/\/yahoo\.com\n"; } else { print "$url\n"; } }
Project ID: 907712

About the project

19 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
19 freelancers are bidding on average $39 USD for this job
User Avatar
I can do this job for you. See PM for details.
$30 USD in 0 day
5.0 (279 reviews)
6.9
6.9
User Avatar
$30 USD in 0 day
4.9 (29 reviews)
6.1
6.1
User Avatar
Hi ,Please check PM.
$30 USD in 10 days
4.9 (24 reviews)
5.8
5.8
User Avatar
you may do it by re replacement, use this few lines. $prod = '789'; $category = '5'; $ARGV[0] =~ s/prod\=\d+/prod\=$prod/i; $ARGV[0] =~ s/category\=\d+/category\=$category/i; Please, contact me, you'll get it working asap
$30 USD in 1 day
4.9 (13 reviews)
4.9
4.9
User Avatar
Please check PMB
$30 USD in 3 days
5.0 (3 reviews)
3.8
3.8
User Avatar
Hi there, simply easy request. Please check PM for further detail. Thanks
$30 USD in 1 day
5.0 (3 reviews)
3.2
3.2
User Avatar
Placing bid
$30 USD in 7 days
4.0 (5 reviews)
3.0
3.0
User Avatar
I will do this for you with please.
$30 USD in 0 day
5.0 (1 review)
1.4
1.4
User Avatar
Please check PM.
$30 USD in 1 day
5.0 (6 reviews)
1.0
1.0
User Avatar
check my pm :)
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I already did things like this. My last two projects were related to Squid. I prefer to do the script in Python, but perl is ok for me too. Check PM.
$200 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
It's a simple script. I can develop it in a hour.
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I can very well do this. Please check PM for details... Thanks
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
have done a lot of work in Perl before
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
This is a simple enough project. I have many years experience with perl, including complex regular expressions, and I can do this easily given a list of what must be changed in the URL.
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I hope that I can give you the best possible solution for this . Thanks
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I can do this in less than 2 hours. Please provide me with details on exactly what you need. This is based on the assumption that you exactly need what you have in your requirements. If you need more than what is described, please let me know and I will revise my rate and estimation. Regards, Ashutosh
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear, I will help you out with this script completely
$30 USD in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
Its very interesting and enjoyable.I'll like to this work.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Los Alamos, United States
4.9
16
Payment method verified
Member since Jan 9, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.