Skip to main content
Inspiring
October 20, 2009
Question

CF9 Developer Ed; didn't have IIS when installed

  • October 20, 2009
  • 2 replies
  • 656 views

I installed CF9 Developer Edition on a laptop that did not have IIS installed on it at the time.

After an agonizingly slow download that I don't want to repeat (where in the heck did I put that download-file? ...) I ran the installation and it set up ... the "port 8500" server.  (Okay, since IIS wasn't there.)

Now, I stumble-upon the fact that you can't easily specify a different web-root.  I stumbled-upon "mapping" and found out (again, the hard way) that it doesn't do anything for URLs.

So I stumbled on the notion that maybe IIS (which, uhh, I know nothing about...) could let me define other web-roots.  I even stumbled-upon the "wsconfig" program and (as Administrator) ran it.

But ... uhh ... well, you get the picture.  Hel-l-l-p!    I need a pointer to a good description of what I need to do at this point, what files I need to move or set-up or change (bah...) in order to, hopefully, be able to "do mappings of URLs."  I don't really care what server ... IIS or built-in ... I wind up running here.

This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
October 24, 2009

In the deployment descriptor file Adam mentions, use the tag <context-root></context-root> to modify the  root, and

<virtual-mapping>
    <resource-path></resource-path>
    <system-path></system-path>
  </virtual-mapping>

to map a resource path to a different physical location on the server. If you're still in doubt, refer to the livedocs on the jrun-web.xml deployment descriptor.See, in particular, the example at the end.

Inspiring
October 22, 2009

You might want to have a look @ your jrun-web.xml file in your WEB-INF dir.  That's the config file for the JRun Web Server.  You can set up virtual directory mappings in there.

--

Adam