----------------------------------------------------------------
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,
I think there is a work around for this possible option
- use sendRedirect .. but the request must go the the same servlet and so
create a deadlock
Use another dummy servlet just for redirecting to the required servlet and call
dummy servlet. This solves deadlock situation and solves purpose.
ServletA->dummyServlet->ServletA.
hope it helps
Subash
BERWART Thierry wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Hello,
>
> I have another problem :
> I have an apache web server, modssl and Jserv installed.
> I configured apache with mod_rewrite to redirect all the http and https
> requests to a servlet.
> This servlet check the SSL_CLIENT_S_DN variable to define if the user can
> have or not access to the site .
> My problem is the follown :
> How can i send the page/cgi requested to the client ?
>
> i thought to several thing :
>
> - use a urlConnection ... but it doesn't work with https
> - use sendRedirect .. but the request must go the the same servlet and so
> create a deadlock
> - call my servlet or my class from apache and return true or false to permit
> the access to the site.
>
> PS i must also pass the parameter ... to the request...
>
> If you have some ideas ...
>
> Thanks you in advance !
>
> Thierry
>
> Thierry Berwart
> IT Developer
> Win SA
> Tel : +32 81 711 749
> E-mail : [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]