Re: URL rewiting best practise?

2005-12-15 Thread Chris Birch
Hi Kris, I found that I couldn't use mod_rewrite infront of mod_jk on apache. It seems that mod_jk handles matching requests before mod_rewrite, therefore a transformed request never gets the chance to be processed by mod_jk again and a 404 is always thrown. To get around this, I wrote my o

Re: Question concerning java.lang.NoClassDefFoundError: javax/servlet/ServletContext

2005-12-06 Thread Chris Birch
NoClassDefinition errors are normally thrown if the class or JAR isn't in the classpath, the only other time this happens is when the ClassLoader isn't able to load the class path because an exception is thrown on any static initialisers. (This is conjecture...) It may be the ServletContext ha

Re: Sharing session across http and https connections

2005-11-29 Thread Chris Birch
ser ID (defined as a cookie by default), is tied to an url. If both sites are on different machines, you may have to use url-rewritting for session tracking instead of using the default cookies. ND -Original Message----- From: Chris Birch [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29

Sharing session across http and https connections

2005-11-29 Thread Chris Birch
Hi, I'm sure this has been solved and documented already but I can't find any information, if anyone can help me or point me in the right direction, I'd be very grateful. I have an Apache->mod_jk->Tomcat installation. I'm running two sites on Apache for the same domain but one is HTTP and t

Re: Tomcat / CPanel

2005-10-27 Thread Chris Birch
PROTECTED] ----- Chris Birch www.axonbirch.com mailto:[EMAIL PROTECTED] Tel: 0845 125 9427 Fax: 0161 491 4031 Axon Birch, PO Box 139, Cheadle, SK8 4XL Axon Birch - Making Softw

Re: Custom error page when ...

2005-10-22 Thread Chris Birch
You can add pages for HTTP response codes to you web.xml file for each web application you deploy within Tomcat. Add the following to your web.xml file after and before declarations: 404 /pages/error.jsp Regards, Chris. On 22 Oct 2005, at

j_security_check returns 400 response with valid login

2005-10-21 Thread Chris Birch
ac OS X Server. Many Thanks, Chris. Chris Birch [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]