opensubscriber
   Find in this group all groups
 
Unknown more information…

l : linuxvadapav@yahoogroups.com 4 October 2011 • 8:37PM -0400

Re: [LinuxVadaPav] Apache Redirection
by गौरव जोशी

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,

You can try this way.

Check if your mod_rewrite is ON by searching for "mod_rewrite".

If you do not find the module you will have to install it before following
any steps below.

Add below line in virtual host entry

Redirect permanent / https://www.yourdomain.com/

Then add the following configuration to .htaccess file

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Restart the apache server.

Now check it should be working.


Have a nice time,
Gourav Joshi
Have a look at www.linuxquestions.in


On Mon, Oct 3, 2011 at 9:56 PM, VIshal <vishal.linux85@gmai...> wrote:

> **
>
>
> Hey Yogesh,
>
> As i understand this is not redirection but you want to configure
> SSL(Secured Connection) for your domain so you need to follow accordingly
> This might help you
>
> http://blog.mypapit.net/2010/09/how-to-setup-secured-http-ssl-with-apache-in-ubuntu.html
>
> If not please try to be precise what exactly you want do. I will do my best
> to provide you better steps.
>
>
> On Sat, Oct 1, 2011 at 12:40 PM, Yogesh <linuxyog1985@yaho...> wrote:
>
> > **
> >
> >
> > Dear All,
> >
> > I need to redirect url http to https in apache , for eg: - when i type
> > abc.com it should be jump to https://abc.com
> > I tried with RedirectPermanant but it dosnt work.
> >
> > Is any other method to do redirection???Any notes for configuration of
> > apache step by step???
> >
> > Note that i m uses apache with tomcat
> >
> > Regards
> > Yogesh
> > 9702060949
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *
> With Regards,**
> Vishal V Shinde
>
> ***
>
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/linuxvadapav/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/linuxvadapav/join
    (Yahoo! ID required)

<*> To change settings via email:
    linuxvadapav-digest@yaho...
    linuxvadapav-fullfeatured@yaho...

<*> To unsubscribe from this group, send an email to:
    linuxvadapav-unsubscribe@yaho...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.