Ok, I changed my Apache mapping: test.mysite.com DocumentRoot from /var/www/html/mysite to /var/www/html/mysite/www and Alias test.mysite.com/farcry to /var/www/html/farcry_core/admin (shared farcry core)
Better: Now test.mysite.com goes to the FarCry managed site. test.mysite.com/farcry goes to the FarCry admin. But when I am in the admin and click on VIEW SITE it goes to: test.mysite.com/mysite which is meaningless... Where is it getting that? I searched everywhere and don't see "mysite" anywhere... except the name of the subdirectory where the site is. Weirder, I found some stuff cached in the application scope, so I restarted the Coldfusion server and now VIEW SITE goes to: test.mysite.com/mysite/www Where on EARTH is it getting these values? I cannot find them anywhere. Did it somehow pick up the path to the site's home index template and cache it somewhere? why? -Peter At 02:21 PM 10/28/2004, Cody Caughlan wrote: >>Q: When I try to view my new "application" (Farcry site) I get a directory >listing with: config, >>customadmin, includeObj, packages, system, webskin, www. >>I gather this means that somewhere I should have appended /www when I >entered my site directory. How do >I fix this now? > >To install FarCry you need to setup some aliases. Normally this will be done >directly in Apache's httpd.conf file. If you want the mapping done >server-wide then it would be done in the core DocumentRoot <directory> >directive. If the Apache server is performing virtual hosting then you will >need to put this in the correct virtual host directive. > >Basically, you want the following: > >Alias /farcry/ <full path to farcry_core> > >e.g. > >Alias /farcry/ /usr/local/farcry/farcry_core > >And then you need to map the DocumentRoot to <app_name>/www >In your virtual host or global DocumentRoot directory. > >If you want to install farcry alongside other apps without polluting the >core DocumentRoot then you will need to get fancy with Alias or Rewriting >(mod_alias or mod_rewrite directives). > >You might need to add "index.cfm" as a new Directory index, e.g. find a line >like: > >DirectoryIndex index.html index.php (and here add index.cfm), e.g. > >DirectoryIndex index.html index.php index.cfm > >This should register index.cfm as a valid directory handler. If a directory >index is not found you get a generic directory dump, which is what you saw). > >Now somehow CFM pages need to get passed off to the ColdFusion engine. I am >not sure how to integrate CF and Apache, everything I said above is for >configuring Apache, I am sure there must be some configuration necessary on >the CF side of things. At a minimum an Apache directive to process CFM files >must be in place so Apache knows to off-load .cfm pages to the CF engine... > >/cody > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Peter >Theobald >Sent: Thursday, October 28, 2004 7:49 AM >To: FarCry Developers >Subject: [farcry-dev] Linux/Apache installation > >I am an experienced Coldfusion programmer new to FarCry. I am having some >trouble installing FarCry on Linux for Apache. > >Q: When I try to view my new "application" (Farcry site) I get a directory >listing with: config, customadmin, includeObj, packages, system, webskin, >www. >I gather this means that somewhere I should have appended /www when I >entered my site directory. How do I fix this now? > >Q: When I click on that /www I get a very plain page with links for 'home' >and 'support', neither of which works. Isn't this supposed to start with a >sample site using the "aura" look and feel (whatever that is)? > >Q: I am migrating a static HTML site into FarCry. The site is currently >live, so I must work on a test copy of it. When I am done, how do I change >the name of the site to the live site to make it live? It seems the site >name is embedded in places once I run the FarCry install. > >Q: I have many non-FarCry sites also hosted on this Apache server. I'd like >to keep my main web root (/var/www/html) clean. Can I move farcry_core/, >farcry_aura/, fourq/, and apps.cfm into a subdirectory /farcry/ or do they >have to be at the same level as the site directory? > >Comment: The install docs are inadequate. They don't explain the meaning of >"application mapping", "farcry mapping", etc, etc. They also assume you are >installing on a local server. My server is rackmounted in a co-location >center. There is no monitor, I cannot open a browser in it and run >'localhost/farcry/install'. I had to dig around and find the code that >restricts the install to 127.0.0.1 and add my IP address to do a remote >install. This should be documented. >Once I get it working I will be happy to write up my experience installing >FarCry on Linux/Apache with virtual hosting multiple sites. > > > > > >--- >You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] >To unsubscribe send a blank email to [EMAIL PROTECTED] >Aussie Macromedia Developers: http://lists.daemon.com.au/
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
