Zamknięty

URL Rewrite

What I'm trying to do is setup a rewrite rule so that when a URL is entered it will be displayed as [url removed, login to view]

So for example, I'm trying to do this if it's even possible.

I've set the CNAME of [url removed, login to view] to point to [url removed, login to view] (dev Remote Environment on the vendors side, Company B outside of company A network)

If a user visits [url removed, login to view] (owned by Company A) the URL will be re-written to something along these lines [url removed, login to view] (Owned by company A)

What I have so far but doesn't seem to be working, when I visit [url removed, login to view] it stays as is.

# rewrite rules for [url removed, login to view]

RewriteCond %{http_host} ^site\.example\.com [NC,OR]

RewriteCond %{http_host} ^www\.site\.example\.com [NC]

RewriteRule $ [url removed, login to view] [R,L]

Will I need to do a reverse proxy and then re-write from there?

EDIT: I apologize, i should have explained a little better. [url removed, login to view] is owned by [url removed, login to view] (company A). So we changed the CNAME to point to [url removed, login to view] ( [url removed, login to view] )

and [url removed, login to view] is our server and dir, trying to rewrite the URL to be [url removed, login to view] instead of [url removed, login to view] but still have the content dispalyed from [url removed, login to view]

Our redirects are setup in [url removed, login to view] file, not sure if this will help also

Umiejętności: Apache

Zobacz więcej: reverse proxy url change, rewrite url apache wordpress, joomla rewrite url, rewrite url zencart, javascript rewrite url browser, awstats rewrite url, rewrite url creator, reverse proxy delphi, rewrite url apache subdomain domain, reverse proxy freelancer, reverse proxy projects, plesk rewrite url, rewrite url truoble shooting, htaccess rewrite url wildcard, rewrite url server side php, rewrite url smarty, apache mod rewrite url rewrite plesk, rewrite url use title url address, asp rewrite url net isapi, need site can post proxy

O pracodawcy:
( 3 ocen ) Hobart, United States

Numer ID Projektu: #12893741

3 freelancerów złożyło ofertę na kwotę $51 do tego projektu

ausprofreelancer

Hello I can work with you to update your Apache configuration and rewrite rules. I have extensive experience with Apache and its modules, including the mod_rewrite module and have completed many projects with issues s Więcej

$88 USD w ciągu 1 dnia
(8 Oceny)
3.9
talhamq

A proposal has not yet been provided

$40 USD w ciągu 1 dnia
(12 Oceny)
3.8
BernardoLima

A proposal has not yet been provided

$25 USD w ciągu 1 dnia
(0 Oceny)
0.0