On 8/11/05, Tangorre, Michael <[EMAIL PROTECTED]> wrote:
> I have JRUN set up and working on Windows XP Pro (my development
> workstation). I have CFMX6 and CFMX7 both deployed and "seem(ed)" to be
> working fine. The specific information for each deployment is as
> follows:
> 
> CFMX6: http://localhost:8101/
> context path: /
> document root: C:\Inetpub\wwwroot
> 
> CFMX6: http://localhost:8102/
> context path: /
> document root: C:\Inetpub\wwwroot

are these doc roots set in IIS or the JRun instances?  If you have IIS
connectors setup, why are you using the port number of the JRun
instance?

Maybe have website 1 use port 100 in IIS and website 2 use port 200
and have them each 'connected' to the JRun servers ports 8101 and 8102
respectively.

using http://localhost:8102/ uses the internal webserver for the JRun
instance, no IIS at all this way.

DK




> 
> I ran the IIS connector on both and all went fine. I could log into the
> MX6 admin and MX 7 admin no problems. I configured the servers and off I
> went.  I dropped a site into the document root (C:\Inetpub\wwwroot) and
> tried to access it via the CFMX 6 URL: http://localhost:8101/site/
> <http://localhost:8101/site/> . The site pulls fine except none of the
> CSS, JS, and Image paths appear to be working. When viewing the source,
> they all "look" correct in that they appear as:
> 
> http://localhost:8101/site/images/...
> http://localhost:8101/site/js/...
> http://localhost:8101/site/css/...
> 
> Ok, here is where it gets interesting. In the application.cfm file I
> have this:
> 
> if(CGI.server_port neq 80){
>    application.thisServer = LCase(ListFirst(CGI.server_protocol,"/")) &
> "://" & CGI.server_name & ":" & CGI.server_port & "/site/";
> }
> else{
>  application.thisServer = LCase(ListFirst(CGI.server_protocol,"/")) &
> "://" & CGI.server_name & "/site/";
> }
> 
> application.thisServer.js = application.thisServer & "js/";
> application.thisServer.css = application.thisServer & "css/";
> application.thisServer.image = application.thisServer & "Image/";
> 
> If I leave the above alone, the page does not render with the images,
> js, or css working.
> 
> If I hard code the path in such that it looks like the following, all
> works fine... everything renders and works!:
> 
> application.thisServer.js = http://127.0.0.1:8101/site/js/;
> application.thisServer.css = "http://127.0.0.1:8101/site/css/";;
> application.thisServer.image = http://127.0.0.1:8101/site/mage/;
> 
> Any ideas? Is this a JRUN/Site/IIS config issue?
> 
> TIA,
> 
> Mike
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214572
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to