Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-30-2009, 09:17 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
redirect https request to http after user authentication


I need help in redirecting an https://webpage to http://webpage after user authentication

E.g. to after user authentication

I have enabled mod_rewrite.c and made Rewrite Engine on

But still it does’t work

Could anyone suggest me on this issue?


Old 01-31-2009, 11:42 AM   #2
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
[EDIT] woops didn't read your post right.

Once you've authenticated the user, and are about to display the "youre in!" page:

Add a mod rewrite rule naming that page, but forward it to https://... If you're having trouble with this step, post your .htaccess.

Why do you need to do this, though? Are you worried about overhead? If you bothered authenticating the person, why not just maintain a secure connection? I don't get it.

Last edited by jhwilliams; 01-31-2009 at 11:44 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to redirect http to https? Sovan Linux - Server 1 12-03-2008 01:11 PM
redirect http to https awreneau Linux - Server 17 10-14-2008 09:13 AM
redirect http request to https with "post method" FMH Linux - General 0 10-01-2007 02:16 AM
HTTPS/HTTP Authentication Issue win32sux LQ Suggestions & Feedback 4 03-05-2007 10:45 PM
redirect SquirrelMail from http to https using Apache2 cccc Linux - Server 3 09-23-2006 10:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration