You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Friedrich <ft...@frontwire.com> on 2001/03/27 11:11:03 UTC
Re: Getting apache to serve .xml files by default.
Thanks, that helped! It seems I dont need apache at all really, I can use
tomcat directly. Is tomcat stable enough for this? I will also check if there
are any security vulnerabilities.
Again, thanks for your help.
Regards, Friedrich
On Mon, Mar 26, 2001 at 11:26:18AM -0800, Anjul Srivastava wrote:
> I use cocoon under Tomcat and I solved the same problem by
> modifying
> $TOMCAT_HOME/webapps/cocoonhandleddirwhateveritis/WEB-INF/we
> b.xml to be the following file. The <welcome-file/> tags do
> the job for me.
>
> ----------------
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!--
> This is the web-app configurations that allow Cocoon to
> work under
> Apache Tomcat. Please, follow the installation section
> of the
> documentation for more information about installing
> Cocoon on Tomcat
> -->
>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
>
> <web-app>
> <servlet>
> <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
> <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
> <init-param>
> <param-name>properties</param-name>
> <param-value>WEB-INF/cocoon.properties</param-value>
> </init-param>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
> <url-pattern>*.xml</url-pattern>
> </servlet-mapping>
> <welcome-file-list>
> <welcome-file>
> index.html
> </welcome-file>
> <welcome-file>
> index.xml
> </welcome-file>
> </welcome-file-list>
> </web-app>
> -----------
>
> Hope this helps.
> Anjul.
>
> ----- Original Message -----
> From: "Friedrich" <ft...@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.
>
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Cocoon 1.8 with xalan2.0 and xerces1.2.3
Posted by Andy Bosch <an...@is-development.de>.
Hi,
we are using cocoon 1.8, the complete
package. Is it now possible, to
update only the xalan and xerces jar-files?
Or do we have to wait for a new cocoon-update?
We need to integrate xalan 2.0 and xerces 1.2.3.
Is it possible, to integrate them?
Thanks,
Andy
-----Ursprungliche Nachricht-----
Von: Sergio Carvalho [mailto:scarvalho@criticalsoftware.com]
Gesendet: Dienstag, 27. Marz 2001 15:48
An: cocoon-users@xml.apache.org
Betreff: Re: Getting apache to serve .xml files by default.
On Tue, 27 Mar 2001 10:11:03 +0100
Friedrich <ft...@frontwire.com> wrote:
> Thanks, that helped! It seems I dont need apache at all really, I can use
> tomcat directly. Is tomcat stable enough for this? I will also check if
there
> are any security vulnerabilities.
>
Apache is faster and more reliable when it comes to static content. As you
will probably serve a lot of static content, at least for images, it is
usual to leave apache on a real-world configuration. You don't need it for
development, though.
Apache can also do magic when it comes to caching dynamic web pages, if
properly used.
Sergio
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Getting apache to serve .xml files by default.
Posted by Sergio Carvalho <sc...@criticalsoftware.com>.
On Tue, 27 Mar 2001 10:11:03 +0100
Friedrich <ft...@frontwire.com> wrote:
> Thanks, that helped! It seems I dont need apache at all really, I can use
> tomcat directly. Is tomcat stable enough for this? I will also check if there
> are any security vulnerabilities.
>
Apache is faster and more reliable when it comes to static content. As you will probably serve a lot of static content, at least for images, it is usual to leave apache on a real-world configuration. You don't need it for development, though.
Apache can also do magic when it comes to caching dynamic web pages, if properly used.
Sergio
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>