![]() |
| Re: JAMIE |
|
jamie
HostMySite Sales Rep
![]()
|
What language would you like it in? There are several samples in this forum for CGI, ASP, and CF if I recall. |
||||||||||||||
|
|
|||||||||||||||
| Got one |
|
dgalfano
|
Hi Jamie,
Thanks for replying. I was able to figure it out. I was using the wrong key words when searching, but I found one that works. Thanks, Dan |
||||||||||||
|
|
|||||||||||||
|
Citizen1200
|
I'd be interested in seeing the redirect code for CF.
|
||||||||||||
|
|
|||||||||||||
|
bobclingan
Forum Regular
|
All you should need to do is do a re-direct based off the cgi.http_host variable right?
|
||||||||||||
|
|
|||||||||||||
|
Citizen1200
|
beats me.
|
||||||||||||
|
|
|||||||||||||
|
Govogi
|
Great information
|
||||||||||||
|
|
|||||||||||||
|
Jason101
Forum Regular
|
This should work in Coldfusion
Put this in the very top of your Application.cfm or Application.cfc in the root of your site.
OR. If you want to host subdomains, get a Linux or Windows VPS and you can host all of the domains you want. |
||||||||||||||
|
|
|||||||||||||||
|
parkavedavinci
|
How does the given CFM Redirect script handle everything if an application on the subdirectory has its own Application.cfm ...
for example: "forums.mydomain.com/index.cfm" points to "www.mydomain.com/forums/index.cfm" (based on the Script in ...mydomain.com/application.cfm) - however, the forums Directory also has its own Application.cfm for alternate purposes. |
||||||||||||
|
|
|||||||||||||
|
Jason101
Forum Regular
|
Put the same redirect code in that application.cfm and you should be fine. |
||||||||||||||
|
|
|||||||||||||||
| Sub Domains |
|
||
|



