-
1. Re: How to enable Directory Browsing on jboss 5 like in IIS
jaikiran pai Jul 13, 2009 3:35 AM (in response to nissim betito)Under jboss-5.1.0.GA/server/< serverName>/deployers/jbossweb.deployer you will find a web.xml which by default has set the "listings" attribute to false. Change it to set that value to true to allow directory listing:
<init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param>
-
2. Re: How to enable Directory Browsing on jboss 5 like in IIS
nissim betito Jul 15, 2009 12:06 PM (in response to nissim betito)Hey,
Thanks it's work.
But I have one more Q, Can I configured that to point to a path, to one folder only and if i can haven secure that it will be great ?
And how if you can.
Thank You :) -
3. Re: How to enable Directory Browsing on jboss 5 like in IIS
jaikiran pai Jul 16, 2009 10:13 AM (in response to nissim betito)Can I configured that to point to a path, to one folder only and if i can haven secure that it will be great ?
I'm sorry i did not get this question. Are you asking how to configure the server such that it allows directory listing for only one application and rest all applications don't allow directory listing? -
4. Re: How to enable Directory Browsing on jboss 5 like in IIS
nissim betito Jul 17, 2009 12:16 PM (in response to nissim betito)Sorry :)
First Yes you explain that much better.
And Can the Directory listing point to a different folder ? something like "/tmp/directotyl" ?
Thank You -
5. Re: How to enable Directory Browsing on jboss 5 like in IIS
Matthew Cserhati Apr 15, 2016 10:02 AM (in response to jaikiran pai)Hello,
XXXXXXXX
This worked for me since I am working on a similar project.
However, how is it possible to hide the directory name in the listing, as shown above?
I only want the links to the file names to be listed.
Thanks, csmatyi