cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mustafa Yalniz <yal...@bumed.org.tr>
Subject Re: directory listing
Date Thu, 11 Sep 2003 14:43:43 GMT

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
>joerg.heinicke@virbus.de
>www.virbus.de
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message