Hi Aaron, Contact me off list regarding times I was due to get something written up this week but run out of time 30 mins with a screen share is all that's needed.
Cheers Alex On Saturday, 3 December 2011, Benjamin Davis <[email protected]> wrote: > Hey Aaron, > > Why don't you try this first. Add to your Windows host file something like test.local and point it to 127.0.0.1. Add the mapping like this to your server.xml file for Tomcat: > > <Host name="test.local" appBase="webapps"> > <Context path="" docBase="c:/inetpub/test/" /> > </Host> > Make sure that you load an index.cfm to your test directory. Now browser to http://test.local:8888/index.cfm and see what you get. If this doesn't work, then you should get a yellow box that says File Not Found and the next line should have your index.cfm. If you get this then you are in the right ball park to figure this out. Also make sure that you have debugging turned on in your OpenBD admin. With this turned on, it will display all of the debugging information and one of the CGI variables is CF_TEMPLATE_PATH. This will show you exactly what it is trying to grab. > > If the URL with port 8888 works, then you know the issue isn't Tomcat, but between Tomcat and IIS. I would then try adding in a new website into IIS and point it to this directory. Make sure your bindings all look good and are looking for test.local. Then try it from http://test.local/index.cfm In my case, even through IIS with debugging turned on, I still get the Tomcat File Not Found and it shows me what page it was trying to load. Give this a shot and let us know how it goes. If needed, I can probably help you out Monday night. > > Ben > > On Sat, Dec 3, 2011 at 12:32 PM, Aaron J. White <[email protected]> wrote: > > Thanks for the information Ben, but I have the same issue I had with > Jetty. I go to mysite.com/index.cfm and IIS ARR pushes the request to > tomcat, but tomcat is giving a 404. I'm not sure how to figure out > what physical address tomcat is trying to grab the index.cfm from, but > I have configured my virtual hosts like Ben's explanation above. (I > did not modify my local hosts file though) > > If anyone is willing to do freelancing I would gladly pay per hour for > someone to come into my environment and help me get it configured the > way I am looking for. I have already contacted Alan's company, but > they do not support IIS. I know I'm really close, but there just > doesn't seem like their is good enough documentation available for a > someone like me to figure out the missing pieces. > > Again, if anyone with the IIS know how is willing I would gladly pay > for more instruction than this google group can provide. > > Thanks > On Nov 30, 9:49 am, Benjamin Davis <[email protected]> > wrote: >> I also forgot to mention. In this setup, there is only one instance of >> OpenBD running, so the admin/configuration is for all sites collectively. >> What I have done before to access it from outside the immediate server to >> to setup another host for it. >> >> <Host name="bluedragon.local" appBase="webapps"> >> <Context path="" docBase="C:\openbd\tomcat\webapps\ROOT" /> >> </Host> >> >> In this case, going to bludragon.local:8888/bluedragon/administrator will >> get me there. You can also setup an Alias to reference from true URL like >> openbd.[host].com and then have IIS just forward that. >> >> On Wed, Nov 30, 2011 at 8:37 AM, Benjamin Davis < [email protected] >> >> >> >> >> >> >> >> > wrote: >> > Here is an example from my production server.xml file. When you first >> > install, you will have the localhost that is the top line here. I leave >> > this one as is and then create new ones like below. I also create then >> > [host].local file inside of my c:\windows\system32\drivers\etc\hosts This >> > way I can access it from the local machine going to port 8888 and then I >> > don't have to open my firewall for port 8888 to test it from the outside. >> > I also setup IIS to look for [host].local as well as [host].com and >> >www.[host].com You never know what they are going to put in. You can >> > always setup some redirects to www which SEO claims is a good thing. If >> > this doesn't make sense then let me know. I haven't had any issues running >> > this method. In fact, on my laptop, i point the directories to >> > c:\users\[me]\Dropbox! I then just let Dropbox sync between my different >> > servers automatically. (Host names have been changed to protect the >> > innocent.) >> >> > <Host name="localhost" appBase="webapps" >> > unpackWARs="true" autoDeploy="true" >> > xmlValidation="false" xmlNamespaceAware="false"> >> > </Host> >> > <Host name="foo.local" appBase="webapps"> >> > <Alias>www.foo.com</Alias> >> > <Alias>foo.com</Alias> >> > <Context path="" docBase="c:/inetpub/foo/main/" /> >> > </Host> >> > <Host name="fooie.local" appBase="webapps"> >> > <Alias>www.fooie.foo.com</Alias> >> > <Alias>fooie.foo.com</Alias> >> > <Context path="" docBase="c:/inetpub/fooie/" /> >> > </Host> >> >> > On Wed, Nov -- Alex Skinner Managing Director Pixl8 Interactive Tel: +448452600726 Email: [email protected] Web: pixl8.co.uk -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
