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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
