cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ekkehard Hoffmann <ehoff...@fzi.de>
Subject AW: Getting apache to serve .xml files by default.
Date Tue, 27 Mar 2001 08:36:11 GMT
> Von: Friedrich [mailto:ftc@frontwire.com]
> Is it possible to get apache to server say, index.xml as the 
> index file 
> instead of the usual index.html. I have tried using the 
> DirectoryIndex 
> directive in Apache to achieve this but it seems to have no 
> effect. Is 
> this possibly more a Tomcat issue than apache? I can serve up 
> xml docs 
> if I link to them or specify them. The apache logs dont 
> reveal anything 
> helpful in this respect. I would be most grateful for any 
> tips in this 
> regards.
I'm using the following in httpd.conf and apache is serving
index.xml (converted by cocooon) iff index.xml exists but not index.html:
-----------------------
<IfModule mod_dir.c>
    DirectoryIndex index.html index.xml
</IfModule>
------------------------

Hope this helps,
Eccy
ehoffman@fzi.de

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message