Brendan/Dean,
 
The solution definitely works for non-Apache setups and this is how I have my sites 
set up on my other PC (CFMX/Internal server/SQL 2000). It does not work for Apache. I 
guess there's another config setting required but I haven't tracked down what it is 
yet.
 
As i'm on my Apache version today I'll dig into the code to see if I can help resolve 
this.
 
N.
 

        -----Original Message----- 
        From: [EMAIL PROTECTED] on behalf of Dean Brandt 
        Sent: Thu 09/10/2003 13:24 
        To: FarCry Developers 
        Cc: 
        Subject: [farcry-dev] Re: failure to login
        
        

        
        -----BEGIN PGP SIGNED MESSAGE-----
        Hash: SHA1
        
                      Hi Brendan
        
                      My case would be the second option where both sites
        have their own headers. The apps.cfm file only had one entry for
        app1, so I manually added the other as per your example but still no
        go.....
        
        Dean Brandt
        Clever Thinking Consulting
        Network/Systems Integration,
        Application Design
        Internet Presence Supplier/Hosting Specialists
        Melbourne, Australia
        Ph:   03-97492747
        Mob: 0418488885
        ...smart networks for smart business
        
        PGP Public Key: http://pgp.cleverthinking.net//DeanBrandt.asc
        
        
        
        
        
        
        - -----Original Message-----
        From: Brendan Sisson [mailto:[EMAIL PROTECTED]
        Sent: Thursday, 9 October 2003 10:10 PM
        To: FarCry Developers
        Subject: [farcry-dev] Re: failure to login
        
        
        Dean Brandt wrote:
        >            Have farcry_core, fourq and farcry_aura in the web
        > heirarchy. Also have two other app sites in that same dir, one
        > called  app1 the other farcry_test
        
        If you are running from the one host eg localhost, you can only log
        in
        to one FarCry site at a time. The apps.cfm file determines which site
        you can currently log in to.
        
        In your case, assuming you are running localhost, your apps.cfm file
        would like this:
        
        <cfscript>
        stApps = structNew();
        stApps['localhost'] = 'app1;
        //stApps['localhost'] = 'farcry_test';
        </cfscript>
        
        farcry_test is commented out which means you can only log in to app1.
        Need to log into farcry_test then simply switch which is commented
        out.
        
        This approach is only used if you are running from the one host. If
        you
        had a host header for each site, eg app1.cleverthinking.net and
        farcrytest.cleverthinking.net, then your apps file would look like
        this:
        
        <cfscript>
        stApps = structNew();
        stApps['app1.cleverthinking.net'] = 'app1;
        stApps['farcrytest.cleverthinking.net'] = 'farcry_test'; </cfscript>
        
        No need to comment out any entries here. To login you would browse to
        app1.cleverthinking.net/farcry and
        farcrytest.cleverthinking.net/farcry.
        
        Third case is if you are running from the root of the webserver, then
        you don't need an apps.cfm at all.
        
        Hope that helps :)
        
        - -Brendan
        http://farcry.daemon.com.au
        
        
        - ---
        You are currently subscribed to farcry-dev as:
        [EMAIL PROTECTED] To unsubscribe send a blank email
        to [EMAIL PROTECTED]
        
        -----BEGIN PGP SIGNATURE-----
        Version: PGP 8.0.2
        
        iQA/AwUBP4VRx7txbk0Vy5cMEQI/GQCdF2MSRcLojDD9bMiZz0cfNrKv6CQAmwdz
        //lJVNkE2GMQY/ObF3deUozg
        =JP/7
        -----END PGP SIGNATURE-----
        
        
        ---
        You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
        To unsubscribe send a blank email to [EMAIL PROTECTED]
        

<<winmail.dat>>

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to