Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 76911 invoked from network); 3 Aug 2000 11:03:28 -0000 Received: from jasmin.sncf.fr (171.16.0.7) by locus.apache.org with SMTP; 3 Aug 2000 11:03:28 -0000 Sender: aurelien.dehay@sncf.fr To: xerces-j-dev@xml.apache.org To: CocoonDev Subject: Alias and Stylesheets From: aurelien.dehay@sncf.fr (DEHAY =?iso-8859-1?q?Aur=E9lien?=) Date: 03 Aug 2000 13:07:00 +0200 Message-ID: Lines: 64 User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ntas9.fret.sncf.fr id NAA01734 Organization: S.N.C.F. French Railways X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello. Bug or feature? I don't understand. Here is my problem: Cocoon 1.7.4 Xerces 1.1.3 Apache 1.3.12 Apache is running 3 virtuals hosts. Each one have a DocumentRoot in the /developpement subdir: /developpement/systeme /developpement/dba /developpement/sources In /developpement/, I've got a =ABcommun=BB subdir, for sharing data beetween web sites. Data like my stylesheets. Then, I've got an alias in my httpd.conf: Alias /styles/ "/developpement/commun/styles/" In =ABstyles=BB, I've got 3 subdirs: dtd, css, xsl. When I give the complete URL for my xsl in Netscape (i.e. with http://hostname/styles/xsl/document.xsl), it works: I can see it. When I give this same URL in my , it works too. *But* wh= en I want to give the with a relative URL, like th= at: I've got the following error message: org.apache.cocoon.processor.ProcessorException:=20 Could not associate stylesheet to document: =20 error reading /developpement/sources/htdocs/styles/xsl/document.xsl:=20 org.xml.sax.SAXParseException:=20 File "file:///developpement/sources/htdocs/styles/xsl/document.xsl" not f= ound. at org.apache.cocoon.processor.xslt.XSLTProcessor.getStylesheet(XSLTProce= ssor.java, Compiled Code) at org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.j= ava, Compiled Code) at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code) at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code= ) at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code) at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Co= de) at java.lang.Thread.run(Thread.java, Compiled Code) WHY ? Thanks for any answer. Note: I don't whant to put the complete URL in for many reasons. One is because it's my developpement site, and it would be hard to replace all the when I put the pages on my production site. --=20 Aur=E9lien