----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi all,
Thanks for everybodys response , and i finally managed to figure it
out . All i had to do was define the <location> for the mount points and
set the permissions to deny on the locations that i don't want accessible
and allow only the localhost. Yes brett that is exactly what you said ,
only i wish you had said this earlier ;-).
best regards to all
Raghu
From:"Brett Knights" <[EMAIL PROTECTED]> on 01/13/2000 04:50 AM GMT
Sent by: "Brett Knights" <[EMAIL PROTECTED]>
Please respond to "Java Apache Users"
<[EMAIL PROTECTED]>
To: "'Java Apache Users'" <[EMAIL PROTECTED]>
cc: (bcc: Raghu V Singh/rsingh1/LSU)
Subject: RE: how to control execution of servlets ?
----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Excuse me but what are you all talking (posting?) about?
The method of accessing a servlet as described in this threads original
post is how servlets are supposed to be accessed. i.e. A uri
like > http://www.x.com/servlets/Hello is requested and the servlet
executes.
If you are trying to implement an authentication scheme there are various
ways to do that using <LOCATION> directives. (check the
FAQ)
If you require some set up before the servlet is accessed set a cookie, set
a hidden form field or require some parameters on a
query string. (these are all beyond the scope of this response)
HTH
***********************************************************
Brett Knights 626-432-5767 work
[EMAIL PROTECTED] 626-355-1017 home
***********************************************************
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tom
> Copeland
> Sent: Wednesday, January 12, 2000 7:21 AM
> To: 'Java Apache Users'
> Subject: RE: how to control execution of servlets ?
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Raghu -
>
> You're right - the thing I suggested was wrong.
> security.allowedAddresses are the addresses from which an ajp
> client (i.e.,
> Apache) can connect to JServ. Sorry for the misleading info.
>
> I assume that you have other stuff that you want
> accessible to the
> outside world via Apache, so you can't just "Deny from all" in the
> DocumentRoot Directory in httpd.conf. But maybe there's
> another way... I
> don't see how.
>
> If you find out, pls post a solution! :-)
>
> Yours,
>
> Tom
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 12, 2000 9:47 AM
> To: Java Apache Users
> Subject: RE: how to control execution of servlets ?
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
>
>
> Tom,
> I tried that , did'nt work , i tried using the loopback and the
> primary interface IP address , still did'nt work .I can go
> home and execute
> the servlets.
>
> any other ideas ? Is there something i can configure in
> apache that would
> treat the servlets zone as a directory which can deny passing on the
> request for the servlet to the jserv module from all
> addresses except the
> local webserver ?
>
> best regards
>
> Raghu
>
>
> From:Tom Copeland <[EMAIL PROTECTED]> on 01/12/2000 02:22 PM GMT
>
> Sent by: Tom Copeland <[EMAIL PROTECTED]>
>
> Please respond to "Java Apache Users"
> <[EMAIL PROTECTED]>
>
> To: 'Java Apache Users' <[EMAIL PROTECTED]>
> cc: (bcc: Raghu V Singh/rsingh1/LSU)
>
> Subject: RE: how to control execution of servlets ?
>
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Raghu -
>
> I think you can set the security.allowedAddresses property in
> jserv.properties to "127.0.0.1" and that should do it.
>
> Yours,
>
> Tom
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 11, 2000 11:56 PM
> To: [EMAIL PROTECTED]
> Subject: how to control execution of servlets ?
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
>
>
> Hi all,
> I am using Jserv with Apache 1.3.9 and it all works
> pretty good. The
> problem is that how to configure the JServ engine to execute
> the servlets
> only on the request of the local webserver. I mean right now
> any tom,dick
> or harry can type in
>
> http://www.x.com/servlets/Hello
>
> and execute the servlet , how do i change this so that only
> a page on the
> webserver can execute/post/get from the servlet and all else
> it ignored ?
>
> thanks to all
>
> Raghu
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]