You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by George Hester <he...@hotmail.com> on 2002/07/26 03:24:46 UTC

Easy question may be not be easily satisfied

I am usung Windows 2000 Server IIS 5.  I use Perl also latest build.  And PHP
not the latest build.  Thes two languages have what is called a script mapping
dll that IIS can use to send a request of a particular file type to the correct
helper app.  Perl's is called perl.exe and php's is called php.exe.  You set up
the mapping in IIS for a particular web site and when requests are made for cgi,
php, and so on IIS sends the request to the correct helper app.

I am using Jakarta 4.0.1 Tomcat.  Tomcat does not come with this functionality.
I can map folders of the Tomcat installation but not files.  In other words
http://localhost/mypage.jsp will appear as text in my server.  Not as a true
Java Server Page.  There is mostly ASP in the webroot and that is going to
remain.  I just want jsp's to be mapped either to the folder where Tomcat
resides and the concomittant files there for a succussful launch or a particular
jsp file located in the root of Tomcat.  That is where the jsp's will reside.

Is this in the works or not?  If so can somebody point me to where I can find
such a dll or exe?

Thanks.

--
George Hester
_________________________________





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Easy question may be not be easily satisfied

Posted by George Hester <he...@hotmail.com>.
Yes I am using that isapi_rediredt.dll.  Unfortunately that is not an
application mapping on the level of the ones I listed.  It redirects calls to a
folder in C:\Program Files\Apache Tomcat 4.0\webapps but not calls to a file
such as http://localhost/mypage.jsp.  See if it really were an application
mapping then this link ought to connect to Tomcat.  It doesn't.  IIS just looks
at it as ? calls it a text file and displays it as such.  Thanks though I will
start on the raod you gave me some links to.

--
George Hester
_________________________________
"Bill Barker" <wb...@wilshire.com> wrote in message
news:000901c2344f$b77bcd80$59c12e04@dslverizon.net...
> A good place to start is (for Tomcat 3.3):
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
>
> For Tomcat 4.0:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
>
> Note that you can use the binary isapi_redirect.dll from:
> http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/win32/i38
> 6/
>
> even with Tomcat 4.x.
>
> ----- Original Message -----
> From: "George Hester" <he...@hotmail.com>
> Newsgroups: gmane.comp.jakarta.tomcat.devel
> To: <to...@jakarta.apache.org>
> Sent: Thursday, July 25, 2002 7:36 PM
> Subject: Re: Easy question may be not be easily satisfied
>
>
> > Yeah I guess.  Let me just say that what I said is the truth of the matter
> in
> > IIS Windows 2000 IIS anyway.  If you go to Control Panel | Administrative
> Tools
> > | Internet Services Manager | Right click on Default Web Site | Properties
> |
> > Home Directory Tab | Configuration...  you will see the application
> mappings.
> > These are done by extensions.  If you have Perl installed you will see for
> .pl
> > files:
> >
> > extension .pl
> > Executable path: C:\Perl\bin\Perl.exe "%s" %s
> > Verbs Limt to: GET,HEAD,POST
> > Check that file exists checked.
> > Hmm... my Script engine isn't checked...Hmmm... I thought that was
> supposed to
> > be but Perl works fine here so I'll leave it be.
> >
> > Same thing with PHP for .php different executable obviously.
> >
> > Same thing with JRun 4 for .jsp's jrun.dll in this case as executable.
> >
> > Not the same thing with Tomacat.
> >
> > Is this related to what you said I should look for for Tomcat?  It
> "several
> > connectors for Tomcat" uses a exe or dll for the Application Extension
> mapping?
> > Thanks.
> >
> > --
> > George Hester
> > _________________________________
> > "Simon Stewart" <sm...@lateral.net> wrote in message
> > news:20020726020211.GB7778@127.0.0.1...
> > > On Thu, Jul 25, 2002 at 09:24:46PM -0400, George Hester wrote:
> > > > I am usung Windows 2000 Server IIS 5.  I use Perl also latest build.
> And
> > PHP
> > > > not the latest build.  Thes two languages have what is called a script
> > mapping
> > > > dll that IIS can use to send a request of a particular file type to
> the
> > correct
> > > > helper app.  Perl's is called perl.exe and php's is called php.exe.
> You set
> > up
> > > > the mapping in IIS for a particular web site and when requests are
> made for
> > cgi,
> > > > php, and so on IIS sends the request to the correct helper app.
> > > >
> > > > I am using Jakarta 4.0.1 Tomcat.  Tomcat does not come with this
> > functionality.
> > > > I can map folders of the Tomcat installation but not files.  In other
> words
> > > > http://localhost/mypage.jsp will appear as text in my server.  Not as
> a true
> > > > Java Server Page.  There is mostly ASP in the webroot and that is
> going to
> > > > remain.  I just want jsp's to be mapped either to the folder where
> Tomcat
> > > > resides and the concomittant files there for a succussful launch or a
> > particular
> > > > jsp file located in the root of Tomcat.  That is where the jsp's will
> > reside.
> > > >
> > > > Is this in the works or not?  If so can somebody point me to where I
> can
> > find
> > > > such a dll or exe?
> > >
> > > Tell me if I get this wrong, but you appear to want to map a file name
> > > extension to a certain handler? The congruous UNIX based solution to
> > > the "IIS + helper" would be "Apache + DSOs" --- there's one for perl
> > > (mod_perl), one for php (php ;) and several connectors for Tomcat (and
> > > Jetty now, too) amongst others. Your best bet is to look into using
> > > mod_jk2, which is part of the jakarta tomcat connectors project.
> > >
> > > Regards,
> > >
> > > Simon
> > >
> > > --
> > > Real Programmers don't write in BASIC.  Actually, no programmers
> > > write in BASIC... after age twelve.
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Easy question may be not be easily satisfied

Posted by George Hester <he...@hotmail.com>.
Shoot I tried this some time ago and came up with nothing there.  Was this the
wrong place?

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/release/v1.2.0
/bin/win32/

--
George Hester
_________________________________
"Bill Barker" <wb...@wilshire.com> wrote in message
news:000901c2344f$b77bcd80$59c12e04@dslverizon.net...
> A good place to start is (for Tomcat 3.3):
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
>
> For Tomcat 4.0:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html
>
> Note that you can use the binary isapi_redirect.dll from:
> http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/win32/i38
> 6/
>
> even with Tomcat 4.x.
>
> ----- Original Message -----
> From: "George Hester" <he...@hotmail.com>
> Newsgroups: gmane.comp.jakarta.tomcat.devel
> To: <to...@jakarta.apache.org>
> Sent: Thursday, July 25, 2002 7:36 PM
> Subject: Re: Easy question may be not be easily satisfied
>
>
> > Yeah I guess.  Let me just say that what I said is the truth of the matter
> in
> > IIS Windows 2000 IIS anyway.  If you go to Control Panel | Administrative
> Tools
> > | Internet Services Manager | Right click on Default Web Site | Properties
> |
> > Home Directory Tab | Configuration...  you will see the application
> mappings.
> > These are done by extensions.  If you have Perl installed you will see for
> .pl
> > files:
> >
> > extension .pl
> > Executable path: C:\Perl\bin\Perl.exe "%s" %s
> > Verbs Limt to: GET,HEAD,POST
> > Check that file exists checked.
> > Hmm... my Script engine isn't checked...Hmmm... I thought that was
> supposed to
> > be but Perl works fine here so I'll leave it be.
> >
> > Same thing with PHP for .php different executable obviously.
> >
> > Same thing with JRun 4 for .jsp's jrun.dll in this case as executable.
> >
> > Not the same thing with Tomacat.
> >
> > Is this related to what you said I should look for for Tomcat?  It
> "several
> > connectors for Tomcat" uses a exe or dll for the Application Extension
> mapping?
> > Thanks.
> >
> > --
> > George Hester
> > _________________________________
> > "Simon Stewart" <sm...@lateral.net> wrote in message
> > news:20020726020211.GB7778@127.0.0.1...
> > > On Thu, Jul 25, 2002 at 09:24:46PM -0400, George Hester wrote:
> > > > I am usung Windows 2000 Server IIS 5.  I use Perl also latest build.
> And
> > PHP
> > > > not the latest build.  Thes two languages have what is called a script
> > mapping
> > > > dll that IIS can use to send a request of a particular file type to
> the
> > correct
> > > > helper app.  Perl's is called perl.exe and php's is called php.exe.
> You set
> > up
> > > > the mapping in IIS for a particular web site and when requests are
> made for
> > cgi,
> > > > php, and so on IIS sends the request to the correct helper app.
> > > >
> > > > I am using Jakarta 4.0.1 Tomcat.  Tomcat does not come with this
> > functionality.
> > > > I can map folders of the Tomcat installation but not files.  In other
> words
> > > > http://localhost/mypage.jsp will appear as text in my server.  Not as
> a true
> > > > Java Server Page.  There is mostly ASP in the webroot and that is
> going to
> > > > remain.  I just want jsp's to be mapped either to the folder where
> Tomcat
> > > > resides and the concomittant files there for a succussful launch or a
> > particular
> > > > jsp file located in the root of Tomcat.  That is where the jsp's will
> > reside.
> > > >
> > > > Is this in the works or not?  If so can somebody point me to where I
> can
> > find
> > > > such a dll or exe?
> > >
> > > Tell me if I get this wrong, but you appear to want to map a file name
> > > extension to a certain handler? The congruous UNIX based solution to
> > > the "IIS + helper" would be "Apache + DSOs" --- there's one for perl
> > > (mod_perl), one for php (php ;) and several connectors for Tomcat (and
> > > Jetty now, too) amongst others. Your best bet is to look into using
> > > mod_jk2, which is part of the jakarta tomcat connectors project.
> > >
> > > Regards,
> > >
> > > Simon
> > >
> > > --
> > > Real Programmers don't write in BASIC.  Actually, no programmers
> > > write in BASIC... after age twelve.
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Easy question may be not be easily satisfied

Posted by Bill Barker <wb...@wilshire.com>.
A good place to start is (for Tomcat 3.3):
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html

For Tomcat 4.0:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

Note that you can use the binary isapi_redirect.dll from:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/win32/i38
6/

even with Tomcat 4.x.

----- Original Message -----
From: "George Hester" <he...@hotmail.com>
Newsgroups: gmane.comp.jakarta.tomcat.devel
To: <to...@jakarta.apache.org>
Sent: Thursday, July 25, 2002 7:36 PM
Subject: Re: Easy question may be not be easily satisfied


> Yeah I guess.  Let me just say that what I said is the truth of the matter
in
> IIS Windows 2000 IIS anyway.  If you go to Control Panel | Administrative
Tools
> | Internet Services Manager | Right click on Default Web Site | Properties
|
> Home Directory Tab | Configuration...  you will see the application
mappings.
> These are done by extensions.  If you have Perl installed you will see for
.pl
> files:
>
> extension .pl
> Executable path: C:\Perl\bin\Perl.exe "%s" %s
> Verbs Limt to: GET,HEAD,POST
> Check that file exists checked.
> Hmm... my Script engine isn't checked...Hmmm... I thought that was
supposed to
> be but Perl works fine here so I'll leave it be.
>
> Same thing with PHP for .php different executable obviously.
>
> Same thing with JRun 4 for .jsp's jrun.dll in this case as executable.
>
> Not the same thing with Tomacat.
>
> Is this related to what you said I should look for for Tomcat?  It
"several
> connectors for Tomcat" uses a exe or dll for the Application Extension
mapping?
> Thanks.
>
> --
> George Hester
> _________________________________
> "Simon Stewart" <sm...@lateral.net> wrote in message
> news:20020726020211.GB7778@127.0.0.1...
> > On Thu, Jul 25, 2002 at 09:24:46PM -0400, George Hester wrote:
> > > I am usung Windows 2000 Server IIS 5.  I use Perl also latest build.
And
> PHP
> > > not the latest build.  Thes two languages have what is called a script
> mapping
> > > dll that IIS can use to send a request of a particular file type to
the
> correct
> > > helper app.  Perl's is called perl.exe and php's is called php.exe.
You set
> up
> > > the mapping in IIS for a particular web site and when requests are
made for
> cgi,
> > > php, and so on IIS sends the request to the correct helper app.
> > >
> > > I am using Jakarta 4.0.1 Tomcat.  Tomcat does not come with this
> functionality.
> > > I can map folders of the Tomcat installation but not files.  In other
words
> > > http://localhost/mypage.jsp will appear as text in my server.  Not as
a true
> > > Java Server Page.  There is mostly ASP in the webroot and that is
going to
> > > remain.  I just want jsp's to be mapped either to the folder where
Tomcat
> > > resides and the concomittant files there for a succussful launch or a
> particular
> > > jsp file located in the root of Tomcat.  That is where the jsp's will
> reside.
> > >
> > > Is this in the works or not?  If so can somebody point me to where I
can
> find
> > > such a dll or exe?
> >
> > Tell me if I get this wrong, but you appear to want to map a file name
> > extension to a certain handler? The congruous UNIX based solution to
> > the "IIS + helper" would be "Apache + DSOs" --- there's one for perl
> > (mod_perl), one for php (php ;) and several connectors for Tomcat (and
> > Jetty now, too) amongst others. Your best bet is to look into using
> > mod_jk2, which is part of the jakarta tomcat connectors project.
> >
> > Regards,
> >
> > Simon
> >
> > --
> > Real Programmers don't write in BASIC.  Actually, no programmers
> > write in BASIC... after age twelve.
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Easy question may be not be easily satisfied

Posted by George Hester <he...@hotmail.com>.
Yeah I guess.  Let me just say that what I said is the truth of the matter in
IIS Windows 2000 IIS anyway.  If you go to Control Panel | Administrative Tools
| Internet Services Manager | Right click on Default Web Site | Properties |
Home Directory Tab | Configuration...  you will see the application mappings.
These are done by extensions.  If you have Perl installed you will see for .pl
files:

extension .pl
Executable path: C:\Perl\bin\Perl.exe "%s" %s
Verbs Limt to: GET,HEAD,POST
Check that file exists checked.
Hmm... my Script engine isn't checked...Hmmm... I thought that was supposed to
be but Perl works fine here so I'll leave it be.

Same thing with PHP for .php different executable obviously.

Same thing with JRun 4 for .jsp's jrun.dll in this case as executable.

Not the same thing with Tomacat.

Is this related to what you said I should look for for Tomcat?  It "several
connectors for Tomcat" uses a exe or dll for the Application Extension mapping?
Thanks.

--
George Hester
_________________________________
"Simon Stewart" <sm...@lateral.net> wrote in message
news:20020726020211.GB7778@127.0.0.1...
> On Thu, Jul 25, 2002 at 09:24:46PM -0400, George Hester wrote:
> > I am usung Windows 2000 Server IIS 5.  I use Perl also latest build.  And
PHP
> > not the latest build.  Thes two languages have what is called a script
mapping
> > dll that IIS can use to send a request of a particular file type to the
correct
> > helper app.  Perl's is called perl.exe and php's is called php.exe.  You set
up
> > the mapping in IIS for a particular web site and when requests are made for
cgi,
> > php, and so on IIS sends the request to the correct helper app.
> >
> > I am using Jakarta 4.0.1 Tomcat.  Tomcat does not come with this
functionality.
> > I can map folders of the Tomcat installation but not files.  In other words
> > http://localhost/mypage.jsp will appear as text in my server.  Not as a true
> > Java Server Page.  There is mostly ASP in the webroot and that is going to
> > remain.  I just want jsp's to be mapped either to the folder where Tomcat
> > resides and the concomittant files there for a succussful launch or a
particular
> > jsp file located in the root of Tomcat.  That is where the jsp's will
reside.
> >
> > Is this in the works or not?  If so can somebody point me to where I can
find
> > such a dll or exe?
>
> Tell me if I get this wrong, but you appear to want to map a file name
> extension to a certain handler? The congruous UNIX based solution to
> the "IIS + helper" would be "Apache + DSOs" --- there's one for perl
> (mod_perl), one for php (php ;) and several connectors for Tomcat (and
> Jetty now, too) amongst others. Your best bet is to look into using
> mod_jk2, which is part of the jakarta tomcat connectors project.
>
> Regards,
>
> Simon
>
> --
> Real Programmers don't write in BASIC.  Actually, no programmers
> write in BASIC... after age twelve.





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Easy question may be not be easily satisfied

Posted by Simon Stewart <sm...@lateral.net>.
On Thu, Jul 25, 2002 at 09:24:46PM -0400, George Hester wrote:
> I am usung Windows 2000 Server IIS 5.  I use Perl also latest build.  And PHP
> not the latest build.  Thes two languages have what is called a script mapping
> dll that IIS can use to send a request of a particular file type to the correct
> helper app.  Perl's is called perl.exe and php's is called php.exe.  You set up
> the mapping in IIS for a particular web site and when requests are made for cgi,
> php, and so on IIS sends the request to the correct helper app.
> 
> I am using Jakarta 4.0.1 Tomcat.  Tomcat does not come with this functionality.
> I can map folders of the Tomcat installation but not files.  In other words
> http://localhost/mypage.jsp will appear as text in my server.  Not as a true
> Java Server Page.  There is mostly ASP in the webroot and that is going to
> remain.  I just want jsp's to be mapped either to the folder where Tomcat
> resides and the concomittant files there for a succussful launch or a particular
> jsp file located in the root of Tomcat.  That is where the jsp's will reside.
> 
> Is this in the works or not?  If so can somebody point me to where I can find
> such a dll or exe?

Tell me if I get this wrong, but you appear to want to map a file name
extension to a certain handler? The congruous UNIX based solution to
the "IIS + helper" would be "Apache + DSOs" --- there's one for perl
(mod_perl), one for php (php ;) and several connectors for Tomcat (and
Jetty now, too) amongst others. Your best bet is to look into using
mod_jk2, which is part of the jakarta tomcat connectors project.

Regards,

Simon

-- 
Real Programmers don't write in BASIC.  Actually, no programmers
write in BASIC... after age twelve.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>