httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: HTTPS to HTTP
Date Mon, 05 Aug 2002 06:45:48 GMT
OK. By "hardcoded" do you mean that you entered http://blabla in the links
etc in the HTTPS documents? If not, please explain what you mean by
"hardcoded", and if that involves any Apache config directives, please
provide them.

I'm not sure that a rewrite is possible for what you want. You say that you
dont want the requests being made using HTTPS, but when you would apply a
rewrite rule, the request would already been made (using HTTPS), and I don't
know the point in making another request then.
You could try the Redirect or RedirectMatch directive, if they do what you
want:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect

(If someone has some knowledge of this, please take over. Since I don't have
any experiance with SSL/HTTPS nor these scary servlets, I doubt I can take
it further)

Regards,
Robert Andersson


----- Original Message -----
From: "kaushik kanni" <roy894@yahoo.com>
To: <users@httpd.apache.org>; "Robert Andersson" <robert@profundis.nu>
Sent: Monday, August 05, 2002 8:23 AM
Subject: Re: HTTPS to HTTP


> WEl frankly speaking Robert,
> there are absolutly no changes in the config. To put
> things in a little bit better perspective, I have a
> weblogic plugin module installed in apache and all the
> files with extenstions matching
> ".servlet and .sservlet" are being directed to
> weblogic. Now as i said before i had hardcoded all
> page from which HTTPS had to become HTTP, which used
> to work fine in my old Apache server. Now since i have
> updated to this, my session is getting timed out
> exactly at the point where HTTPS call is forcibly
> converted into HTTP. If i don't convert it then
> unnecessarliy, the requests are being made in HTTPS.
> So i thought the best route would be to use rewrite
> rule module. Since i am new to rewrite i sought for
> help.
>
> The URL of this format  -->
>   https://www.sitename.com/site/login.servlet
>
> has to be converted to
>   http://www.sitename.com/site/login.servlet
>
> based on the ".servlet" extention in the URL.
>
> So could you please suggest something..
>
> best Regards
>
>
>
>
>
> --- Robert Andersson <robert@profundis.nu> wrote:
> > In a previous message you said that you had this
> > working in Apache 1.2. How
> > did you do that? Provide config excerpts, as that
> > probably would help us
> > understand how you want it to work, as it isn't
> > crystal clear, and perhaps
> > also error/access logs if the former method causes
> > such. I do not yet dare
> > to suggest a solution, but with a better picture, I
> > might.
> >
> > Regards,
> > Robert Andersson
> >
> > ----- Original Message -----
> > From: "kaushik kanni" <roy894@yahoo.com>
> > To: <users@httpd.apache.org>
> > Sent: Sunday, August 04, 2002 9:20 AM
> > Subject: HTTPS to HTTP
> >
> >
> > > Hey guys.. does any one know an answer for
> > this???.
> > >
> > > Can any one tel me how to redirect HTTPS request
> > to
> > > HTTP based on a condition such.
> > > For example below urls.
> > > HTTPS://www.sitename.com/name/login.SERVLET
> > > should be made as
> > > HTTP://www.sitename.com/name/login.SERVLET
> > > based on the 'SERVLET' extention using modrewrite
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail:
> > users-help@httpd.apache.org
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> > users-help@httpd.apache.org
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message