Find Jobs
Hire Freelancers

Simple web.config URL rewrite/redirect from non-www to www preserve http/https

$10-30 USD

Teljesítve
Kiadva ekkor: majdnem 9 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
We want to put code in [login to view URL] file that rewrites or redirects incoming traffic without ‘www” to “www” for both http and https (preserve http/https). To be clear: [login to view URL] should go to [login to view URL] [login to view URL] Should got to [login to view URL] We already put in the code below that works for http but is not working for https ([login to view URL] incorrectly goes to [login to view URL]) because the redirect hardcodes http and instead it must be built to use the original http or https in the redirect code. <[login to view URL]> <rewrite> <rules> <rule name="Add www" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{HTTP_HOST}" pattern="[login to view URL]" negate="true" /> </conditions> <action type="Redirect" url="[login to view URL]{R:1}" /> </rule> </rules> </rewrite> </[login to view URL]> This should be very simple for developer who understands the wildcards and rules. Must be done via web.config. All elements of code should be explained to us. Preference is to have code similar to above.
Projektazonosító: 8184090

A projektről

6 ajánlat
Távolról teljesíthető projekt
Aktiválva: 9 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
Hello, Can you try to do it like this please: <[login to view URL]> <rewrite> <rules> <rule name="Add www" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions trackAllCaptures="true"> <add input="{HTTP_HOST}" pattern="[login to view URL]" negate="true" /> <add input="{CACHE_URL}" pattern="^(.+)://" /> </conditions> <action type="Redirect" url="{C:1}://[login to view URL]{R:1}" /> </rule> </rules> </rewrite> </[login to view URL]> Regards
$30 USD 1 napon belül
5,0 (19 értékelés)
4,7
4,7
6 szabadúszó adott átlagosan $24 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Hi I can solve your issue via .htaccess as you can see i have done recently with www.classiciasacademy.com. Please check and let me know I can do it now. Thanks
$24 USD 1 napon belül
4,8 (176 értékelés)
7,4
7,4
Felhasználó avatár
Hello, I will be happy to help you with this. About me: I'm a 31 year old webdeveloper from Norway, with most expertice in PHP. - I have 15 years of PHP experience - I am the author of phpSec, A PHP security library. - I have 10 years of Drupal experience - I am the author of the Authy module for Drupal. I also know my way around the following technologies: JavaScript/jQuery, HTML, CSS, mySQL, Ubuntu, Apache, nginx, Git, CVS, SVN, Cisco, Bootstrap, Laravel and Drupal. I always write code with security in my mind. I work fast and test thoroughly. I will sign a "no disclosure agreement" if needed.
$25 USD 1 napon belül
5,0 (3 értékelés)
3,1
3,1
Felhasználó avatár
A proposal has not yet been provided
$25 USD 1 napon belül
5,0 (1 értékelés)
1,9
1,9
Felhasználó avatár
I would be greatly pleased to join your project for the post of Système adminitrator as I posses the required skills and experience in this arena. I have many years of experience working as a Système adminstrator in UCAO an science and technologie university in togo and I also have continual experience in programing Java, C++, PHP over the past few years. I have individual experience in working on arduino for a project which is steel in progresse. I also have great Experience in Cisco equipement configuration (router an switch) .I look forward to being hired by you.
$30 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

UNITED STATES zászlója
Gilbert, United States
5,0
20
Fizetési mód hitelesítve
Tagság kezdete: szept. 30, 2010

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.