On Dec 14, 2007 4:17 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Dan Armbrust [mailto:[EMAIL PROTECTED]
> > Subject: Re: directory listings per webapp
> >
> > Thanks a lot. I'll see if I can get access to
> > http://wiki.apache.org/tomca
> From: Dan Armbrust [mailto:[EMAIL PROTECTED]
> Subject: Re: directory listings per webapp
>
> Thanks a lot. I'll see if I can get access to
> http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer
> to this question - since the current answer is pretty
> Probably not. You specified a docBase of /dir/foo for the foo webapp,
> but appear to have been editing webapps/foo/WEB-INF/web.xml, which is
> not where you've told Tomcat the app is deployed. It's extremely bad
> practice to have a directory under the appBase that's the same as
> one for an
> From: Dan Armbrust [mailto:[EMAIL PROTECTED]
> Subject: Re: directory listings per webapp
> I made those two changes - but I still don't get any directory listing
What do you get?
Did you restart Tomcat (or insure that the webapp was otherwise
redeployed)?
What version of
les R
<[EMAIL PROTECTED]> wrote:
> > From: Dan Armbrust [mailto:[EMAIL PROTECTED]
> > Subject: directory listings per webapp
> >
> >
> >
>
> Broken record: take out the path attribute; it's not allowed (but it's
> not this problem).
>
> >
> From: Dan Armbrust [mailto:[EMAIL PROTECTED]
> Subject: directory listings per webapp
>
>
>
Broken record: take out the path attribute; it's not allowed (but it's
not this problem).
>
> foo
> /foo/*
>
Change the to this:
There is a typo in the below.
This
> tomcat/server/webapps/billing/WEB-INF/web.xml
Should have been
tomcat/server/webapps/foo/WEB-INF/web.xml
So thats not the problem.
Dan
On Dec 14, 2007 3:10 PM, Dan Armbrust <[EMAIL PROTECTED]> wrote:
> I want to create a webapp that just lists the content
I want to create a webapp that just lists the content of a directory -
but I don't want to turn on directory listing globally.
I've seen lots of people say it can be done, just do but I've yet
to find a working example. Can someone tell me what I'm missing here?
I have a file:
tomcat/conf/