yes.. that gives me an idea.. in apache/tomcat config can you put in a
wildcard proxy for like /*.jsp http://localhost:8080/*.jsp or even /*.jsp to
http://localhost:8080/myjspfolderhere/*.jsp ?I know IBM's IHS has this
option but I am not sure if wildcards are natively supported in apache.
Anyone?

-----Original Message-----
From: Michael Jennings [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 5:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: how to put jsp files in regular apache root?


I'm not sure about that one...

Try using a context path of "", also, you could try "*.jsp" that might also
work.
You could also try just running tomcat as your web server! Just change the
"8080"
in server.xml to "80"

Have you read through the tomcat docs?
-Mike

----- Original Message -----
From: "Gerald Koh" <[EMAIL PROTECTED]>
To: "Michael Jennings" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 4:06 PM
Subject: RE: how to put jsp files in regular apache root?


> Thanks for the info.. one more question... I would like to be able to run
> jsps in the root, as well as in several subfolders.  Do the contexts
inherit
> to each subfolder, or should  I explicitly declare all subfolders as new
> contexts?
>
>
> Here's what I'm looking at:
>
>        <Context path="/"
>                  docBase="/var/www/html/"
>                  crossContext="false"
>                  debug="0"
>                  reloadable="true" >
>         </Context>
>
> to try to be able to put jsps in the root (like index.jsp, for example).
I
> will have several subfolders for projects that may also have jsps in them.
>
> Will this work?
>
> Thanks for your help!
>
> g
>
> --
> Gerald Koh  |  Site Building  |  Tumo Solutions  |  Vail, Colorado
> v: 970.949.4111 x15   |  e: [EMAIL PROTECTED]
>
> --
>
> "The only source of knowledge is experience" -  Albert Einstein
>
> -----Original Message-----
> From: Michael Jennings [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 3:23 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: how to put jsp files in regular apache root?
>
> Just have a look at $TOMCAT_HOME/server.xml
>
> you'll see an entry that looks like:
>
>        <Context path="/examples"
>                  docBase="webapps/examples"
>                  crossContext="false"
>                  debug="0"
>                  reloadable="true" >
>         </Context>
>
> Just make another entry right after it with a different docBase and path,
> for example:
>
>        <Context path="/geraldjsp"
>                  docBase="/home/gerald/jsp"
>                  crossContext="false"
>                  debug="0"
>                  reloadable="true" >
>         </Context>
>
> then the next time you restart tomcat, it'll make a new
> conf/mod_jk.conf-auto that'll have all
> of the stuff that mod_jk.so needs to intercept any urls that look like
> "/geraldjsp"
> You'll need to restart apache so that apache will re-read httpd.conf,
which
> in in turn
> make apache re-read the mod_jk.conf-auto
>
> Hope this helps!
> -Mike
>
>
> ----- Original Message -----
> From: "Gerald Koh" <[EMAIL PROTECTED]>
> To: "Tomcat User" <[EMAIL PROTECTED]>
> Sent: Monday, June 04, 2001 12:23 PM
> Subject: how to put jsp files in regular apache root?
>
>
> > Hi, I have redhat 7.1 running apache 1.3.19 and tomcat 3.2.2. right now
it
> > is working, but there are a few outstanding issues. Please keep my
> > newbieness in mind when answering:
> >
> > 1. I think tomcat is serving the static pages as well as the jsps.
There
> > are directions on how to change this, but read #2 first.
> > 2. the jsp's currently need to reside in the webapps directory, I think.
> I
> > need to hold the jsps in the same directory as the html. Can I do this?
> >
> > Thanks in advance!
> >
> > g
> >
> > --
> > Gerald Koh  |  Site Building  |  Tumo Solutions  |  Vail, Colorado
> > v: 970.949.4111 x15   |  e: [EMAIL PROTECTED]
> >
> > --
> >
> > "The only source of knowledge is experience" -  Albert Einstein
> >
> >
>

Reply via email to