How are you setting this up?
Is this a multi-server install of CFMX on JRun?
What other Vhosts have you got in your httpd.conf?



On 12/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I am trying to setup two sites using CFMX 7 and Apache 2. I followed
the advice given in my old posting ("Setup for hosting many sites")
which worked
fine ... almost :-)

I want the URL for site 1 to be www.site1.local and for site 2
www.site2.local

Here is my Apache config (I left out the unimportant stuff)

<VirtualHost *:80>
    DocumentRoot C:/FARCRY/farcry_site1/www
    ServerName   www.site1.local
    Alias     /farcryadmin C:/FARCRY/farcry_core/admin
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot C:/FARCRY/farcry_site2/www
    ServerName   www.site2.local
    Alias     /farcryadmin C:/FARCRY/farcry_core/admin
</VirtualHost>

What works:
- I can access both farcry admins using www.site1/2.local/farcryadmin
- with directory browsing enabled I can see that www.site1.local and
www.site2.local show the correct directory content
- I can access (almost) any cfm file under www.site1.local and
www.site2.local. Looking at the debugging output I can see that all
farcry variables are showing values from the correct project

Now the interesting part:
If I try to access www.site1/2.local/index.cfm I do get the content
from the ColdFusion webdirectory (in my case C:/CFusionMX7/wwwroot)
Looking at the debugging output I can see that there is no information
from site1 meaning that the request goes directly to
C:/CFusionMX7/wwwroot. There is no apache mapping to
C:/CFusionMX7/wwwroot.

If I add another alias for each webroot of my farcry projects (e.g.
Alias     /html        C:/FARCRY/farcry_site1/www) everything works
fine meaning I can access the sites using www.site1.local/html/xxx. So
I guess it has something to do with / being the root for each of my
projects)

Can anybody tell me why Jrun is going to the default CF Webroot?

Thanks in advance

Bernd


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to