As for my question of whether changes in the jrun-web.xml would be honored by an external web server (such as servlet mappings and perhaps even the directory browsing options offered by Ben), I should add that someone has told me that they SHOULD be honored even with an external web server. You may have to restart the external web server after making the changes, but otherwise it should honor them.
/charlie > -----Original Message----- > From: charlie arehart [mailto:carehart@;systemanage.com] > Sent: Saturday, November 09, 2002 2:16 PM > To: JRun-Talk > Subject: RE: How To Browse Virtual Dirs In JRun4 > > > That's a good question, and since no one has yet answered it, I'd like to > follow it up with some related questions. > > First, does anyone indeed know if this is possible? Of course, this is a > good place to remind folks that JRun 4 offers complete > documentation of the > xml descriptors such as jrun-web.xml, at > [jrun_root]/docs/descriptordocs/index.html. But I did a search across all > the files for "directory" or "browse" and didn't find anything about > directory browsing. > > It also bears mentioning that if you're using IIS or Apache as your web > server (and the JRun connector for that), then you'd make the directory > browsing indicator there instead, right? > > But this raises a question I've had and been unable to test > (since I'm just > using the built-in web server on this system): would this > indication made in > the jrun-web.xml for a virtual mapping even be honored by an external web > server? > > And here's another similar question: if you setup a virtual mapping for a > servlet in web.xml (rather than using the /servlet invoker), will that be > honored by an external web server? Someone using an external web > server told > me that it does not. > > /charlie > > > -----Original Message----- > > From: Ben Groeneveld [mailto:bgroeneveld@;ici-web.com] > > Sent: Wednesday, November 06, 2002 5:44 PM > > To: JRun-Talk > > Subject: How To Browse Virtual Dirs In JRun4 > > > > > > How do I tell JRun4 to permit directory browsing in a specific > > directory, like the following dir defined in my jrun-web.xml file? > > > > > > <virtual-mapping> > > <resource-path>/logs/*</resource-path> > > <system-path>/usr/local/JRun4/logs</system-path> > > </virtual-mapping> > > > > Thanks, BenG. > > > > -- > > Ben Groeneveld > > Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701 > > Mailto:BGroeneveld@;ici-web.com, phone:541.388.3611, cell:208.520.6488 > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8 Get the JRun Web Application Construction Kit - the only book written specifically for JRun developers. http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
