Migrate from http to https

Taking care of your Linux box.
Post Reply
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Migrate from http to https

Post by mejam »

Dear All, I am running a website for local use...it was running under http..now i have ssl support in my appache...ssl is working fine...i have tested it...please tell me how to migrate my existing sites over https....
Regards
Abdulrehman
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Migrate from http to https

Post by LinuxFreaK »

Dear mejam,
Salam,
mejam wrote:Dear All, I am running a website for local use...it was running under http..now i have ssl support in my appache...ssl is working fine...i have tested it...please tell me how to migrate my existing sites over https....
Define SSL Virtual Host.

FYI, http://www.linuxquestions.org/questions ... oo-125361/

Best Regards.
Farrukh Ahmed
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

I have read the link and i have already done that is explained there...but still some sites are not working under https but some sites do...any help further...?
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

post your configuration somewhere, and post the link to it here.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

Dear lambda please read above...i have said that i am running this site locally...and what configurations do i post here....?my server is on UBUNTU and i am using apache2.2.8...Please tell me what configurations you want me to post....?
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

i have said that i am running this site locally
why do you think that makes a difference? you have to configure it either way.
what configurations do i post here
none. you post your configuration elsewhere, and post the link to it here.

you have to show us your apache configuration files for your sites to get help for apache-related problems.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

http://61.5.139.8
https://61.5.139.8
http://61.5.139.8/info.php
https://61.5.139.8/info.php

You can check apache from here...and here is where i am having the problem..

Try this
http://61.5.139.8/redmine
it will work..but when u try

https://61.5.139.8/redmine

see what you get and thats what i want to fix.
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

would you call a doctor on the phone and say "i cut myself accidentally and it's not healing", and then refuse to visit the doctor in person to get help?

you've made changes to your apache config files to enable ssl. clearly something isn't working the way you want. do you want us to guess what's wrong, or do you want us to diagnose the problem?

because, you know, we could sit here guessing all day long and still not help you solve your problem. i'll start off with my first guess: you're running the wrong linux distribution.

we don't need your description of the problem; we have that. we need to inspect the files to figure out the actual cause.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

This is the file where i have created virtual hosts

https://61.5.139.8/000-default

and this is my apache's conf file

https://61.5.139.8/apache2.conf

hope it helps you to guide me[/img][/list][/quote]
Regards
Abdulrehman
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

https://61.5.139.8/ssl

this is my vhost configuration file for ssl
Regards
Abdulrehman
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

you don't have
RailsBaseURI /redmine
RailsBaseURI /subway
RailsBaseURI /rami
in your ssl virtualhost. have you tried putting them there?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
mejam
Havaldaar
Posts: 127
Joined: Sat Oct 18, 2008 12:30 pm
Location: Lahore
Contact:

Post by mejam »

Thanks alot lambda....i was missing it...now it is working buddy...bundle of thanks....
Regards
Abdulrehman
Post Reply