Re: response.sendRedirect(response.encodeRedirectURL(path));

2001-09-04 Thread James Fairbairn

Hi Johan

Are you using Apache as a reverse proxy to provide external web access to
internal hosts? This may help then:

If you are using Apache with the ProxyPass directive for your external
proxy, you also need to include a ProxyPassReverse directive for each
virtual host in httpd.conf.

i.e.

VirtualHost 1.2.3.4
ServerName vhost4.foo.bar
...etc...
ProxyPass / http://10.0.0.4/
ProxyPassReverse http://10.0.0.4/
/VirtualHost

VirtualHost 1.2.3.4
ServerName vhost5.foo.bar
...etc...
ProxyPass / http://10.0.0.5/
ProxyPassReverse / http://10.0.0.5/
/VirtualHost

Do this for each virtual host you are exposing to the outside world via your
proxy.

This way, Apache knows to translate any 302 redirect hostnames to the
outside world vhost's name.

Hope this helps.

James





Re: Cocoon Error:Publishing Engine could not beinitialized:org.xml.sax.SAXNotRecognizedException

2001-05-25 Thread James Fairbairn

I get the same error using IBM JDK1.3 for Win2k. Anyone know how to fix it?

James

- Original Message -
From: Ganasen Gounden [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, May 23, 2001 8:28 AM
Subject: Cocoon Error:Publishing Engine could not
beinitialized:org.xml.sax.SAXNotRecognizedException


 Hello

 I also have received an error when installing Cocoon on Orion as per the
instructions from OrionSupport.com. Can anyone help?

 OS: Winnt, JDK: Sun 1.3.1, AppServer: Orion 1.4.5, Cocoon 1.8.2, Browser
ie 5.5

 Error Message:

 Publishing Engine could not be initialized:
 java.lang.RuntimeException:
 Error while initializing XSP engine:
 org.xml.sax.SAXNotRecognizedException:
 http://apache.org/xml/features/validation/schema
 at org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1515)
 at org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:659)...
 etc

 Any help is appreciated.

 Thanks

 Gan Gounden
 City of Cape Town
 Ph (021) 400-2174
 Fax (021) 425-1096
 Cell 083-63-59-268
 e-mail: [EMAIL PROTECTED]




 **
 Any unauthorized use and interception of this e-mail is illegal.
 If this e-mail is not intended for you, you may not copy,
 distribute or disclose the contents to anyone.  This e-mail
 does not give rise to any binding legal obligations upon the
 City of Cape Town unless the City of Cape Town subsequently
 confirms the content in writing non-electronically.  This e-mail
 may be confidential, legally privileged or otherwise protected
 by law.  Unauthorised disclosure or copying of any or all of it
 may be unlawful. If you receive this e-mail in error please notify
 the sender and delete the message

 **







Orion 1.5.0

2001-05-21 Thread James Fairbairn

Just updated to 1.5.0, and now I get a NoSuchMethodError as follows:

Exception in thread main java.lang.NoSuchMethodError:
org.xml.sax.Attributes:
method getQName(I)Ljava/lang/String; not found
at
org.apache.crimson.tree.AttributeSet.createAttributeSet2(AttributeSet
.java:174)
at
org.apache.crimson.tree.XmlDocumentBuilderNS.startElement(XmlDocument
BuilderNS.java:90)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1475)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
.java:185)
at com.evermind._ug.getJavaxDocument(Unknown Source)
at com.evermind.xml.XMLUtils.getDocument(Unknown Source)
at com.evermind.xml.XMLConfig._ds(Unknown Source)
at com.evermind.xml.XMLConfig._ds(Unknown Source)
at com.evermind.server.ApplicationServer._va(Unknown Source)
at com.evermind.server.ApplicationServer.main(Unknown Source)

Can anyone tell me how to fix it?

James Fairbairn





Re: SSL Question: Possibly Offtopic

2001-05-21 Thread James Fairbairn

 Is there some SSL limitation that only allows 1 Certificate per IP
 address?
Yes, or at least that's my understanding. The SSL negotiation is done before
the Host: header can be sent.

James