Re: Re: Multiple Sites, One IP Address
Leigh Ellis <admin-b9+GV3Ni46/[email protected]> Sun, 10 Jul 2011 01:39:28 +0100
| Newsgroups | gmane.comp.cms.farcry.user |
|---|---|
| Message-ID | <CAJkFiHueAWt5hEfqo=zk_sWUNX8gdxxukc+_fBoftC6-qmHHCQ@mail.gmail.com> |
--00151750e136a4d93d04a7ac4c0a Content-Type: text/plain; charset=ISO-8859-1 Thank you very much for this. Here is a bit more background for other newbies. 0. there was no VD for farcry on the webserver or CF. Going to thedomainname.com/farcry was just redirecting to www.thedomainname/farcry/core/webtop/login.cfm?RETURNURL=%2Ffarcry%2Fcore%2Fwebtop%2Findex%2Ecfm, due to the redirect in the index.cfm of that directory. 1. The install of Farcry was the install option for Multiple Site using a single Farcry core. It is not the "advanced" set-up or the setup for a single site to be used with FaryCry. 2. an IIS Site named "FarCrySites" was setup using the local IP address in IIS (192.168.1.10). This was setup when I first started checking out Farcy. 3. When I had Site A ready to publish, I bought a domain name (I'll call it siteA.com). I then thought, hey, I'm going to be publishing another website shortly, and I'll have to buy the domain name siteB.com. I'll just set up an IIS site for siteA.com for now (in addtion to the one referred to at paragreph 2 above), and when I get the domain name for siteB.com, I'll just add another IIS Site when I buy it (siteB.com). So, when I set up that siteA.com, the problems referred to in my initial post starting happening - I could not login to the webtop. It was the J2EE setting which was causing the problem. ------------------------- As a post script: Since that time I have kind of made progress, but not really. Bearing in the configuration above, I thought I would try the following which occurred to me after reading your post above to see what would happen. The changes were: (a) setup a CF Virtual directory to /farcry (I appreciate that this is not recommended practice, or otherwise a "big no-no"), and (b) changed the home directory for siteA.com to the d:\wwwroot\FarCrySites\siteA. The home directory for siteA.com was originally d:\wwwroot\FarCrySites. I thought I could use IIS7 URL rewriting somehow to make requests to siteA.com "redirect" so that the user would not have "www.thedomainname.com/siteA/index.cfm..." appear in the address bar. It was an interesting result. I can browse to the siteA.com and siteB.com, but the CSS cannot be found. This seems to be because application.url.webroot which is set by FarCry is "/siteA_name". It seems the ultimate problem may be that if I want to have multiple sites on the same server, I need to: 1. point the thedomainame.com to the home directory of siteA.com on the server (so that the /siteA_name does not appear ). 2. have another dedicated IP address for administration of farcry websites. But to do this, I somehow need to change the value of the variable application.url.webroot from "/siteA_Name" to "/" in accordance with best practice? I am sure that I can hack it, but prefer to use bets practice. Would anyone be able to offer any tips on how to do this? ----------------------------------------- Boon On Thu, Jul 7, 2011 at 2:03 PM, Sean Coyne <[email protected]> wrote: > Any reason you are going to http://domain.com/farcry? On a FarCry 5 or 6 > site you should be logging in at http://domain.com/webtop > > You should NOT have a web server virtual directory called "/farcry" on a FC > 5+ site. You should have a "/farcry" mapping defined in the CF admin if you > are using the advanced install, but not a web server virtual directory. > > Remove the /farcry VD and create a /webtop one. Point it at > /farcry/core/webtop. > > Also make sure you have J2EE sessions turned on in the CF Admin. > > If that doesn't fix it, please provide some additional details on your > setup, IE where is each IIS site pointed (what directory), what virtual > directories and mappings do you have, etc so we can try to help. > > -- > You received this message because you are subscribed to the Google Groups > "farcry-user" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/farcry-user/-/wXeUQfr6uhUJ. > To post to this group, send email to farcry-user-/JYPxA39Uh5TLH3MbocFF+G/[email protected] > To unsubscribe from this group, send email to > farcry-user+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] > For more options, visit this group at > http://groups.google.com/group/farcry-user?hl=en. > -- You received this message because you are subscribed to the Google Groups "farcry-user" group. To post to this group, send email to farcry-user-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To unsubscribe from this group, send email to farcry-user+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en. --00151750e136a4d93d04a7ac4c0a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Thank you very much for this.</div><div>=A0</div><div>Here is a bit mo= re background for other newbies.</div><div>=A0</div><div>0. there was no VD= for farcry on the webserver or CF. Going to <a href=3D"http://thedomainnam= e.com/farcry">thedomainname.com/farcry</a> was just redirecting to <a href= =3D"http://www.thedomainname/farcry/core/webtop/login.cfm?RETURNURL=3D%2Ffa= rcry%2Fcore%2Fwebtop%2Findex%2Ecfm">www.thedomainname/farcry/core/webtop/lo= gin.cfm?RETURNURL=3D%2Ffarcry%2Fcore%2Fwebtop%2Findex%2Ecfm</a>, due to the= redirect in the index.cfm of that directory. </div> <div>1. The install of Farcry was the install option for Multiple Site usin= g a single Farcry core. It is not the "advanced" set-up or the se= tup for a single site to be used with FaryCry.</div><div>2. an IIS Site nam= ed "FarCrySites" was setup using the local IP address in IIS (192= .168.1.10). This was setup when I first started checking out Farcy.</div> <div>3. When I had Site A ready to publish, I bought a domain name (I'l= l call it siteA.com). I then thought, hey, I'm going to be publishing a= nother website shortly, and I'll have to buy the domain name siteB.com.= I'll just set up an IIS site for siteA.com for now (in addtion to the = one referred to at paragreph 2 above), and when I get the domain name for s= iteB.com, I'll just add another IIS Site when I buy it (siteB.com).</di= v> <div>=A0</div><div>So, when I set up that siteA.com, the problems referred = to in my initial post starting happening - I could not login to the webtop.= </div><div>=A0</div><div>It was the J2EE setting which was causing the prob= lem.</div> <div>=A0</div><div>-------------------------</div><div>As a post script:</d= iv><div>=A0</div><div>Since that time I have kind of made progress, but not= really. Bearing in the configuration above, I thought I would try the=A0fo= llowing which occurred to me after reading your post above to see what woul= d happen. The changes were:</div> <div>(a) setup a CF Virtual directory to /farcry (I appreciate that this is= not recommended practice, or otherwise a "big no-no"), and </div= ><div>(b) changed the home directory for siteA.com to the d:\wwwroot\FarCry= Sites\siteA. The home directory for siteA.com was originally d:\wwwroot\Far= CrySites. I thought I could use IIS7 URL rewriting somehow to make requests= to siteA.com "redirect" so that the user would not have "<a= href=3D"http://www.thedomainname.com/siteA/index.cfm...">www.thedomainname= .com/siteA/index.cfm...</a>" appear in the address bar.</div> <div>=A0</div><div>It was an interesting result.=A0I can browse to the site= A.com and siteB.com, but the CSS cannot be found. This seems to be because = application.url.webroot which is set by FarCry is "/siteA_name". = </div> <div>=A0</div><div>It seems the ultimate problem may be that if I want to h= ave multiple sites on the same server, I need to:</div><div>1. point the <a= href=3D"http://thedomainame.com">thedomainame.com</a> to the home director= y of siteA.com on the server (so that the /siteA_name does not appear ). </= div> <div>2. have another dedicated IP address for administration of farcry webs= ites.</div><div>=A0</div><div>But to do this, I somehow need to change the = value of the variable application.url.webroot from "/siteA_Name" = to "/" in accordance with best practice? I am sure that I can hac= k it, but prefer to use bets practice.=A0 </div> <div>=A0</div><div>Would anyone be able to offer any tips on how to do this= ?</div><div>=A0</div><div>-----------------------------------------=A0</div= ><div>=A0</div><div>Boon</div><div>=A0</div><div>=A0</div><div><br><br>=A0<= /div><div class=3D"gmail_quote"> On Thu, Jul 7, 2011 at 2:03 PM, Sean Coyne <span dir=3D"ltr"><<a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a>>= ;</span> wrote:<br> <blockquote style=3D"margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-l= eft-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: s= olid;" class=3D"gmail_quote">Any reason you are going to <a href=3D"http://= domain.com/farcry" target=3D"_blank">http://domain.com/farcry</a>? =A0On a = FarCry 5 or 6 site you should be logging in at <a href=3D"http://domain.com= /webtop" target=3D"_blank">http://domain.com/webtop</a><div> <br></div><div>You should NOT have a web server virtual directory called &q= uot;/farcry" on a FC 5+ site. =A0You should have a "/farcry"= mapping defined in the CF admin if you are using the advanced install, but= not a web server virtual directory.</div> <div><br></div><div>Remove the /farcry VD and create a /webtop one. =A0Poin= t it at /farcry/core/webtop.</div><div><br></div><div>Also make sure you ha= ve J2EE sessions turned on in the CF Admin.</div><div><br></div><div>If tha= t doesn't fix it, please provide some additional details on your setup,= IE where is each IIS site pointed (what directory), what virtual directori= es and mappings do you have, etc so we can try to help.</div> <p></p> -- <br><font color=3D"#888888"> You received this message because you are subscribed to the Google Groups &= quot;farcry-user" group.<br> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msg/farcry-user/-/wXeUQfr6uhUJ" target=3D"_blank">https://groups.googl= e.com/d/msg/farcry-user/-/wXeUQfr6uhUJ</a>.<br>=20 To post to this group, send email to <a href=3D"mailto:farcry-user@googlegr= oups.com" target=3D"_blank">farcry-user-/[email protected]</a>.<br> To unsubscribe from this group, send email to <a href=3D"mailto:farcry-user= %2Bunsubscribe-/[email protected]" target=3D"_blank">farcry-user+unsubscribe@= googlegroups.com</a>.<br> For more options, visit this group at <a href=3D"http://groups.google.com/g= roup/farcry-user?hl=3Den" target=3D"_blank">http://groups.google.com/group/= farcry-user?hl=3Den</a>.<br> </font></blockquote></div><br> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups "= farcry-user" group.<br /> To post to this group, send email to farcry-user-/JYPxA39Uh5TLH3MbocFF+G/[email protected]<br /> To unsubscribe from this group, send email to farcry-user+unsubscribe@googl= egroups.com.<br /> For more options, visit this group at http://groups.google.com/group/farcry= -user?hl=3Den.<br /> --00151750e136a4d93d04a7ac4c0a--