Re: Original URL=> Apache rewrite ???

2001-01-02 Thread Koen Maes \(BE-day.com\)



found the answer :
UseCanonicalName Off
in the vhost config
 

  - Original Message - 
  From: 
  Koen Maes 
  (BE-day.com) 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, January 02, 2001 2:02 
  PM
  Subject: Original URL=> Apache rewrite 
  ???
  
  Hi,
  I'm working with tomcat-3.1 and 
  apache;
  Under apache Ive got virtual hosts defined and 
  for each virtual host a tomcat context.
  When I do :
   
  HttpUtils.getRequestURL(request)
  it gives me the server name of the virtual host 
  that is configured for apache;
  But this doesnt correspond to reality when the 
  virtual host is defined as *
  How do I retrieve what the user typed into its 
  browser location 
  Is this info lost because Apache is not passing 
  it on anymore 
   
  Thx,
  Koen


Re: TOMCAT configuration

2001-01-02 Thread Koen Maes \(BE-day.com\)

attachment is not readable

- Original Message -
From: "Santanu Chakroborti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 02, 2001 9:18 AM
Subject: TOMCAT configuration


>
>
> Hello !
> I have recently installed TOMCAT in my computer and for that I have
> followed the User's Guide. But whenever I ran startup.bat to run it it is
> throwing the following exceptions.
> (See attached file: err.txt)
> Please help me to find out the reason for the error.
> Thank you.
> Santanu
>






> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Original URL=> Apache rewrite ???

2001-01-02 Thread Koen Maes \(BE-day.com\)



Hi,
I'm working with tomcat-3.1 and 
apache;
Under apache Ive got virtual hosts defined and for 
each virtual host a tomcat context.
When I do :
 
HttpUtils.getRequestURL(request)
it gives me the server name of the virtual host 
that is configured for apache;
But this doesnt correspond to reality when the 
virtual host is defined as *
How do I retrieve what the user typed into its 
browser location 
Is this info lost because Apache is not passing it 
on anymore 
 
Thx,
Koen


Re: Alias question

2000-12-31 Thread Koen Maes \(BE-day.com\)

What do the logs say ??
Isnt this HANDLER THREAD  PROBLEM : java.lang.NullPointerException ??
- Original Message -
From: "Pete Ehli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 31, 2000 12:34 AM
Subject: Re: Alias question


> Yes exactly and it generates a server 500 error.
>
> - Original Message -
> From: "William Brogden" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 30, 2000 8:39 AM
> Subject: Re: Alias question
>
>
> >
> >
> > Pete Ehli wrote:
> > >
> > > Hello group -- I am trying to access a servlet via an alias. This I
> thought
> > > was done through the web.xml file in my directory
> > > webapps\practice\Web-inf\web.xml - practice is of course the name of
my
> web
> > > application. I have changed only my web.xml file to run my servlet --
> > >
> > > This is what I have put into my web.xml file (this is the only thing
in
> it).
> > > 
> > >  hello
> > >  foo.bar.baz.HelloWorld
> > > 
> >
> >  Looks to me like Tomcat will look for:
> >  webapps/practice/WEB-INF/classes/foo/bar/baz/HelloWorld.class
> >
> >  is that what you have?
> >
> > WBB
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: & Multiple Contexts

2000-12-28 Thread Koen Maes \(BE-day.com\)



I think by removing
    
from the server xml

  - Original Message - 
  From: 
  Shahed Ali 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, December 28, 2000 6:15 
  PM
  Subject:  & Multiple 
  Contexts
  
  Hi,
   
  I have a  entry in my server.xml pointing to a 
  webapp.
   
  This webapp is in the webapps directory.
   
  When I start tomcat, it loads 2 contexts each refering to 
  the same application.
  one is webapps/myapp and the other is www.host.com 
   
  I have now moved my app to a separate directory, and only 
  one context is created.
   
  But is there any way to tell the context mamager not to load 
  a directory under webapps
  as a context by default ?
   
  Thanks
  Shahed.
   


Handler Thread Problem : java.lang.NullPointerException ?HELP?

2000-12-27 Thread Koen Maes \(BE-day.com\)





Hi,
 
I upgraded to Tomcat 3.2 because I'm getting 
Handler Thread Problem : java.lang.NullPointerException
I thought it was caused by the virtual hosts, so I 
tried using the new  directive for server.XML
You can see my config files below.
When I surf to: http://www.garages.be this redirects to http://212.100.172.240/park/index.jsp
and gives the error Handler Thread Problem : 
java.lang.NullPointerException
When I simply type http://212.100.172.240/park/index.jsp everything 
works fine.
The index.jsp is completely stripped 
to
<%@ page language="java" 
import="com.kmoware.register.servlets.*" errorPage="error.jsp" 
%>URLFORWARDING 
TEST
Getting desperate !!!
 
Thx,
Koen
 
 
 
 
 
 
* HTTPD.CONF
 
[]
 
    ServerAdmin [EMAIL PROTECTED]    
ServerAlias be-day.com    ServerAlias 192.168.1.254 # reached 
via internal IP    ServerAlias www.be-day.com    
DocumentRoot /var/tomcat/webapps/register    ServerName 
be-day.com    ErrorLog 
logs/www.be-day.com-error_log    CustomLog 
logs/www.be-day.com-access_log combined    ApJServMount 
/register/servlet /register    Alias /register 
/var/tomcat/webapps/register      Options 
FollowSymLinks        
 AllowOverride 
None deny from all    

 
    ServerAlias *    
DocumentRoot /var/tomcat/webapps/park    ServerName 
park.be-day.com    ErrorLog 
logs/park.be-day.com-error_log    CustomLog 
logs/park.be-day.com-access_log combined    ApJServMount 
/park/servlet /park    Alias /park 
/var/tomcat/webapps/park      Options 
FollowSymLinks        
 AllowOverride 
None deny from all    
[]
 
SERVER.XML
[]
            

 
        
    
[]
 


Handler Thread Problem : java.lang.NullPointerException

2000-12-27 Thread Koen Maes \(BE-day.com\)




Hi,
 
I upgraded to Tomcat 3.2 because I'm getting 
Handler Thread Problem : java.lang.NullPointerException
I thought it was caused by the virtual hosts, so I 
tried using the new  directive for server.XML
You can see my config files below.
When I surf to: http://www.garages.be this redirects to http://212.100.172.240/park/index.jsp
and gives the error Handler Thread Problem : 
java.lang.NullPointerException
When I simply type http://212.100.172.240/park/index.jsp everything 
works fine.
The index.jsp is completely stripped 
to
<%@ page language="java" 
import="com.kmoware.register.servlets.*" errorPage="error.jsp" 
%>URLFORWARDING 
TEST
Getting desperate !!!
 
Thx,
Koen
 
 
 
 
 
 
* HTTPD.CONF
 
[]
 
    ServerAdmin [EMAIL PROTECTED]    
ServerAlias be-day.com    ServerAlias 192.168.1.254 # reached 
via internal IP    ServerAlias www.be-day.com    
DocumentRoot /var/tomcat/webapps/register    ServerName 
be-day.com    ErrorLog 
logs/www.be-day.com-error_log    CustomLog 
logs/www.be-day.com-access_log combined    ApJServMount 
/register/servlet /register    Alias /register 
/var/tomcat/webapps/register      Options 
FollowSymLinks        
 AllowOverride 
None deny from all    

 
    ServerAlias *    
DocumentRoot /var/tomcat/webapps/park    ServerName 
park.be-day.com    ErrorLog 
logs/park.be-day.com-error_log    CustomLog 
logs/park.be-day.com-access_log combined    ApJServMount 
/park/servlet /park    Alias /park 
/var/tomcat/webapps/park      Options 
FollowSymLinks        
 AllowOverride 
None deny from all    
[]
 
SERVER.XML
[]
            

 
        
    
[]
 
 smime.p7s