I see, that makes sense. Thanks!
On Oct 13, 2009, at 3:47 AM, Marco van den Oever wrote: > > You might want to add the below code so when switching from local to > production you don't have to change the line yourself, of course this > is only for situations when you use virtual directories local and not > on production: > > <!--- check if not localhost, else use mapping ---> > <cfif cgi.HTTP_HOST neq "localhost"> > <cfset THIS.projectURL = "" /> > <cfelse> > <cfset THIS.projectURL = "/testSite" /> > </cfif> > > On Oct 13, 10:43 am, Marco van den Oever <[email protected]> > wrote: >> Exactly! Great it works :) >> >> On Oct 13, 12:08 am, Matthew Prose <[email protected]> wrote: >> >>> got this working! >> >>> I just needed to change this line in the farcryConstuctor file in my >>> project www >> >>> <cfset THIS.projectURL = "/" /> to <cfset THIS.projectURL = '"/ >>> testSite" /> >> >>> reinitialize the project and boo ya. >> >>> Thanks for your guys help! >> >>> Matt >> >>> On Oct 12, 2009, at 4:09 PM, Matthew Prose wrote: >> >>>> Okay, I did this and had it running good. but then realized it was >>>> working in a half ass way. So I tried a different setup and it is >>>> fubar now. Here is my current setup >> >>>> farcry and coldfusion installed on D:/ drive >> >>>> Virtual Directories setup in IIS7 default site: >>>> /CFIDE/ -> mapped to C:/inetpub/wwwroot/CFIDE (this is where CF is >>>> installed) >>>> /farcry/ -> mapped to D:/farcry >>>> /webtop/ -> mapped to D:/farcry/core/webtop >> >>>> I can access the webtop fine by going to localhost/farcry after >>>> setting up a project >> >>>> MY ISSUE: >>>> to view the project I am setting up a virtual directory in IIS7 >>>> /testSite/ -> mapped to D:/farcry/projects/testSite/www/ >> >>>> I am getting the site, but it is not formated, like it cannot find >>>> the farcry folder, only the database. I attached a screen shot of >>>> what I am getting. >> >>>> PLEASE HELP!!!! >> >>>> Thanks >>>> Matt >>>> <Picture 7.png> >> >>>> On Oct 2, 2009, at 5:56 PM, Marco van den Oever wrote: >> >>>>> "I have been trying several different ways of doing this and I am >>>>> getting errors all over the place." >> >>>>> It would be very useful if you share the errors to begin with. >>>>> Have you read this >>>>> link:http://docs.farcrycms.org/display/FCDEV50/Deployment+Configurations >>>>> ? >> >>>>> I have FC 5.2.2 locally (vista 32 bit / IIS7) installed on >>>>> Coldfusion >>>>> with Advanced Configuration (Webserver Mapping). >> >>>>> - Place the farcry folder in your root folder, whatever folder >>>>> that >>>>> is, i placed it in c:\inetpub\wwwroot >>>>> - Be sure that Coldfusion is installed there to, so the folders >>>>> farcry >>>>> and CFIDE are in the same root (in this case wwwroot) >>>>> - Created mappings in IIS7 (to folders farcry and webtop) in >>>>> default >>>>> website >>>>> - Set all handler mappings, isapi filters / restrictions etc in >>>>> IIS7 >>>>> (assuming Coldfusion is already installed so you need to do it >>>>> manually, else it goes automatically by Coldfusion) >> >>>>> Let me know how it goes. >> >>>>> Inspired by Gert Franz who helped me setup Railo on my server with >>>>> teamspeaker, if you are not getting there it might an idea to >>>>> install >>>>> teamspeaker so i or anyone else could assist you with setting up >>>>> stuff. >> >>>>> Or, if you want professional supported help, you might contact >>>>> deamon >>>>> to assist you with the setup. It's a good investment to let it be >>>>> setup 100% correct, as the result supply you with a stable server >>>>> which serves you and or your clients perfectly. >> >>>>> On Oct 3, 12:15 am, prosem <[email protected]> wrote: >>>>>> Hello All, >> >>>>>> I am having some trouble installing farcry for a multi site >>>>>> configuration on my server. I think I am having problems >>>>>> because I >>>>>> have two drives on my windows server running IIS7. >> >>>>>> C: has the wwwroot >>>>>> D: has my sites >> >>>>>> Where should I put the farcry folder to do the install? >>>>>> on C:? >>>>>> on C:inetpub\wwwroot\ ? >>>>>> on D:? >>>>>> on D:Sites\ ? <-this is where I would like my projects to >>>>>> reside, I >>>>>> would like this to be the projects folder. >> >>>>>> Also, I am doing the advanced configuration, but do I need to >>>>>> do the >>>>>> coldfusion mappings or webserver mappings? >> >>>>>> I have been trying several different ways of doing this and I am >>>>>> getting errors all over the place. Please help! > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
