Find Jobs
Hire Freelancers

Perl script to modify URL and redirect

$30-50 USD

완료함
게시됨 15년 이상 전

$30-50 USD

제출할때 지불됩니다
We have an e-commerce site hosted on a .[login to view URL] domain, which relies on perl scripts to do some important things. We want to move the whole site to our corresponding .com domain ( which I can do easily ... that's not the problem ! ). We have a number of referring companies who use? links into our e-commerce site which point to a perl script which ensures they get their commission on referred sales. What we need is a perl script which will parse the incoming link ( something like? [login to view URL]? ) and simply replace ".[login to view URL]" with ".com" then? redirect the user's browser there. All of the parameters like "SOURCE=TEST" have to remain intact in the new URL. ## Deliverables I'll need to understand exactly how this works ( lots of comments in the code are essential ) and will need the coder to also show me how to parse any other part of the incoming URL ... for instance later parts of the string include hex equivalents of non-standard characters ( like %2e instead of a dot ). As well as changing the TLD part of the URL, there are also other references later in the string that need amending. The FULL incoming URL looks something like this ... the bits that might need amending are in **bold red** : http://www.testsite.**[login to view URL]**/cgi-bin/[login to view URL]**co%2euk**%2facatalog%2f ... so the new perl script will be named exactly the same as the original script ( in this case [login to view URL] ) and will overlay the original on the original domain. The new script will then redirect the user to the new domain : http://www.testsite.**com**/cgi-bin/[login to view URL]**com**%2facatalog%2f NOTE that this is a generic example, SOURCE= will have different text according to the referring user, so the coder's script must take the WHOLE incoming URL and only change the bits in red ! The final code will be difficult to check using the 'live' e-commerce site, so I will set up dummy shops on different domains for testing purposes if this is required? ... that's why it is important I fully understand the code so I can amend it when we're ready to set it 'live'.
프로젝트 ID: 3265859

프로젝트 정보

4 제안서
원격근무 프로젝트
활동 중 16년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
See private message.
$17 USD 10일에
5.0 (5 건의 리뷰)
2.3
2.3
4 이 프로젝트에 프리랜서들의 평균 입찰은 $24 USD입니다.
사용자 아바타
See private message.
$34 USD 10일에
4.9 (16 건의 리뷰)
4.6
4.6
사용자 아바타
See private message.
$21.25 USD 10일에
5.0 (16 건의 리뷰)
3.8
3.8
사용자 아바타
See private message.
$22.10 USD 10일에
5.0 (1 건의 리뷰)
2.0
2.0

고객에 대한 정보

국기 (UNITED KINGDOM)
United Kingdom
5.0
1
2월 1, 2006부터 회원입니다

고객 확인

이 거래선이 등록한 다른 일자리

Access 2000 database
$30-100 USD
감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.