Do you have the problem if you call Tomcat directly too?

Reinhard

> -----Original Message-----
> From: Mustafa Yalniz [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: directory listing
> 
> 
> 
> Hi,
> 
> I tried to use mod_rewrite and my httpd.conf configuration is 
> as below.
> 
> <IfModule mod_rewrite.c>
>     RewriteEngine on
>     RewriteLogLevel 9
>     RewriteLog C:\temp\MOD_REWRITE.LOG
> </IfModule>
> 
> <VirtualHost 127.0.0.1>
>     RewriteRule ^/starportal/$ /starportal
> </VirtualHost>
> 
> But seems something is wrong and it does not work properly. 
> Still lists 
> directory when there is a slash at the end.
> 
> http://localhost:8080/cocoon/starportal/ should not display directory 
> listing and one possible solution is to redirect it to 
> http://localhost:8080/cocoon/starportal
> 
> Any help would be greatly appreciated.
> 
> Thank you and regards,
> Mustafa
> 
> 
> At 12:57 11.09.2003 +0200, you wrote:
> >I wonder if this is pure Cocoon behaviour. Don't you have an 
> Apache in
> >front of the servlet container? What's your servlet container?
> 
> It is Tomcat.
> 
> >Joerg
> >
> >Mustafa Yalniz wrote:
> >>Hi,
> >>We have a cocoon application and the URL is
> >>http://localhost:8080/cocoon/application and with this url 
> we can see our 
> >>application. But whenever we try to browse 
> >>http://localhost:8080/cocoon/application/  we see the 
> directory listing 
> >>application. The last slash "/" at the end shows us the directory 
> >>listing. Is there a way to avoid this directory listing 
> with slash at the end.
> >>Thanks,
> >>Mustafa
> >
> >--
> >System Development
> >VIRBUS AG
> >Fon  +49(0)341-979-7419
> >Fax  +49(0)341-979-7409
> >[EMAIL PROTECTED]
> >www.virbus.de
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to