You can change this setting on a per-application basis. I'm not sure why
your JMC is not allowing you to make the change. You might look into your
access rights or file write/execute for the JRun directories.

But there is another way to make the change. Go to
userapp/WEB-INF/webapp.properties and add this line:
file.browsedirs=false

Then restart the default server, and you should see directory browsing shuts
off for that application.

Best,
Patrick Quinn
Allaire Consulting
[EMAIL PROTECTED]

-----Original Message-----
From: sahaya ranialex [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 17, 2000 2:16 PM
To: JRun-Talk
Subject: RE: index.jsp not working as default document


Thanks.
when i copied my index.jsp to<jrunrootdir>\servers\default\default-app
worked fine.

still i have one more question. i create new web appln called userapp thro' 
JMC.
i have index.jsp in <jrunrootdir>\servers\default\userapp\index.jsp

when i give http:\\localhost:8100\userapp
it shows the directory structure under userapp.

i tried to set directory browsings in file settings in web applications of 
userapp thro'JMC.It doesn'allow me to do so.

is there any other way? or i should work under default-app only


sahaya.




>From: Pat Quinn <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: JRun-Talk <[EMAIL PROTECTED]>
>Subject: RE: index.jsp not working as default document
>Date: Fri, 17 Nov 2000 12:36:51 -0500
>
>Okay, here goes. This is partly our fault, because we use some slightly
>ambiguous and redundant language to describe the various pieces in our
>product.
>
>When you install JRun, two JRun server instances are installed: The Admin
>server and the Default server. These are JRun APPLICATION server instances.
>Each JRun application server instance has its own JRun Web server, JWS. 
>This
>is the HTTP server that will receive HTTP requests and pass them to a JRun
>application server instance. If you connect a JRun application server
>instance to a third party Web server, then THAT WEB SERVER will become the
>HTTP Web server for that JRun application server.
>
>To make matters even murkier, the Default JRun application server is
>installed with a default user application. So, after you've gone through a
>typical install, you've got a default user application, on the Default JRun
>application server instance, and you can gain HTTP access to that
>application in one of two ways: either through JRun's Web server, JWS, or
>through a third party, external Web server.
>
>In a typical install, the root directory for the default user APPLICATION 
>is
><jrunrootdir>\servers\default\default-app. However, this application has 
>"/"
>as an application mapping, which means it serves content relative to the 
>WEB
>SERVER ROOT. So, if you are using JRun's Web server, the Web server root 
>for
>the default user application will be THE SAME AS THE APPLICATION ROOT, 
>which
>in this case is <jrunrootdir>\servers\default\default-app. So, you would 
>put
>your application content there. If you are using an external web server, 
>the
>root for the default user application would be THAT WEB SERVER'S DOCUMENT
>ROOT, and you would put your application content there. For IIS, that would
>be wwwroot.
>
>HTH,
>Patrick
>
>-----Original Message-----
>From: sahaya ranialex [mailto:[EMAIL PROTECTED]]
>Sent: Friday, November 17, 2000 11:48 AM
>To: JRun-Talk
>Subject: RE: index.jsp not working as default document
>
>
>For a default JRUN server as web server,what is the web server root path?
>
>sahaya
>
>
> >From: Pat Quinn <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: JRun-Talk <[EMAIL PROTECTED]>
> >Subject: RE: index.jsp not working as default document
> >Date: Thu, 16 Nov 2000 21:12:31 -0500
> >
> >Just to be precise: Do you mean that it's in the web applicaion root, or
> >the
> >Web server root? There's a difference. As you probably know, IIS's Web 
>root
> >is typically wwwroot. For JRun's default user application, to take one
> >example, the web application root is typically
> ><jrunrootdir>\servers\default\default-app. If your index.jsp is here, it
> >won't work.
> >
> >Just double checking...
> >
> >Patrick
> >
> >-----Original Message-----
> >From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, November 16, 2000 3:49 PM
> >To: JRun-Talk
> >Subject: RE: index.jsp not working as default document
> >
> >
> >Yes, index.jsp is in the root for my web application.
> >
> >
> >Phillip Rhodes
> >[EMAIL PROTECTED]
> >Alcoa eCommerce
> >https://www.ALCOADIRECT.COM
> >826B Two Allegheny Center Pittsburgh, PA  15212
> >(412) 553-4900  (phone)  (412) 553-2484 (fax)
> >
> >
> >-----Original Message-----
> >From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, November 16, 2000 12:56 PM
> >To: JRun-Talk
> >Subject: RE: index.jsp not working as default document
> >
> >
> >Is the index.jsp in your web root? The default user application in JRun 
>has
> >"/" as an application mapping, which means intercepts the request to
> >http://myserver/ and it looks for resources relative to the Web server
> >root.
> >So if your index.jsp isn't there, the Web server will return the 404 
>(JRun
> >actually returns errors to clients for non-default applications).
> >
> >Also, you can specify default documents on a per-application basis in 
>JRun
> >via the JMC (ServerName-->Application Name-->File Settings). You can
> >control
> >directory browsing there as well.
> >
> >HTH,
> >Patrick Quinn
> >Allaire Consulting
> >
> >-----Original Message-----
> >From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, November 16, 2000 9:23 AM
> >To: JRun-Talk
> >Subject: index.jsp not working as default document
> >
> >
> >I have Apache and Jrun working together in a distributed environment.  
>JRun
> >3.0 on NT.  Apache on HP 10.2
> >
> >They are working together.  I have modified my apache's httpd.conf file 
>to
> >use index.jsp as the default document.  However, if I do not specify it, 
>I
> >get a 404
> >
> >example that works http://apachemachine/index.jsp
> >
> >example that breaks http://apachemachine/    The 404 error appears to be
> >from Apache.
> >
> >I would appreciate any thoughts on this.
> >
> >
> >Phillip Rhodes
> >[EMAIL PROTECTED]
> >Alcoa eCommerce
> >https://www.ALCOADIRECT.COM
> >826B Two Allegheny Center Pittsburgh, PA  15212
> >(412) 553-4900  (phone)  (412) 553-2484 (fax)
> >
>
>---------------------------------------------------------------------------
>-
> >--
> >Archives: http://www.egroups.com/group/jrun-interest/
> >Unsubscribe:
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> >or send a message to [EMAIL PROTECTED] with 
>'unsubscribe'
> >in the body.
>
>---------------------------------------------------------------------------
>-
> >--
> >Archives: http://www.egroups.com/group/jrun-interest/
> >Unsubscribe:
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> >or send a message to [EMAIL PROTECTED] with 
>'unsubscribe'
> >in the body.
>
>---------------------------------------------------------------------------
>-
> >--
> >Archives: http://www.egroups.com/group/jrun-interest/
> >Unsubscribe:
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> >or send a message to [EMAIL PROTECTED] with 
>'unsubscribe'
> >in the body.
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >Your ad could be here. Monies from ads go to support these lists and
> >provide more resources for the community.
> >http://www.fusionauthority.com/ads.cfm
> >
> >Archives: http://www.mail-archive.com/[email protected]/
> >Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Your ad could be here. Monies from ads go to support these lists and 
>provide
>more resources for the community. http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Your ad could be here. Monies from ads go to support these lists and 
>provide more resources for the community. 
>http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide
more resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to