cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mustafa Yalniz <>
Subject Re: directory listing
Date Thu, 11 Sep 2003 14:38:25 GMT

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

    RewriteRule ^/starportal/$ /starportal

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 

Any help would be greatly appreciated.

Thank you and regards,

At 13:18 11.09.2003 +0200, you wrote:
>It is the usual configuration. Apache Tomcat and Cocoon.
>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?
>>Mustafa Yalniz wrote:
>>>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.
>>System Development
>>Fon  +49(0)341-979-7419
>>Fax  +49(0)341-979-7409
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message