> Can anyone tell me why this happens?? If i run a page in the root of a > site, the CFGRID works. If i run the precise same file in the same relative > location of a subdomain of that site, it doesnt. Can anyone see what > i've got wrong here?
Well, first, a bit of clarification. shard.adcalpos.net is not a subdomain. adcalpos.net is a domain, and shard is a hostname (A record) within that domain. > If you go to the working link: http://adcalpos.net/trygrid.cfm you'll see > it works, therefore the CFGRID applet has been installed ok, then if you go > to the subdomain version of the exact same file at > http://shard.adcalpos.net/trygrid.cfm you'll see now it cant find the > CFGRID applet. > > Any one see what i need to change in the subdomains to make CFGRID work? Each virtual host you have on your web server needs to have a virtual directory pointing to /CFIDE. If you visit the two links, and view source, you'll see something like this: <embed type="application/x-java-applet;version=1.3" pluginspage="http://java.sun.com/j2se/1.3/jre/index.html" code="coldfusion.applets.CFGridApplet.class" archive="/CFIDE/classes/cfapplets.jar" mayscript="true" width="300" height="300" autowidth="false" griddata="1%02Les%02Mustafa%02%013%02Troy%02Heron%02" griddescription="3%022%02300%02300%020%020%020%02%03%02%03%02%03%02%03%02%03%02S%020%02%03%02%03%02%03%02%03%02Y%02Y%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02%03%02N%02insert%02delete%02SortAsc%02SortDesc%01EmployeeID%02Y%02N%02Employeeid%01GivenName%02Y%02N%02Givenname%01Surname%02Y%02N%02Surname" cf_form_name="Form1" cf_param_name="__CFGRID__Form1__employee_grid"> <noembed><b> Browser must support Java to view ColdFusion Java Applets</b></noembed> </embed> Note the archive path. That has to be a valid URL. This is a valid URL: http://adcalpos.net/CFIDE/classes/ This is not (yet): http://shard.adcalpos.net/CFIDE/classes/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333061 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm