LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-16-2008, 02:18 PM   #1
simonm
LQ Newbie
 
Registered: Sep 2008
Posts: 29

Rep: Reputation: 15
Using HTTPS on Apache Redhat 5


When i build website in PHP which is shopping cart, and i opt to use SSL for checkout, do i have to put the files in a HTTPS different folder, as at the moment when i goto https://www.domain.com/checkout.php it says 404 page not found, whereas if i go to http://www.domain.com/checkout.php it works, but i have opted in software to use HTTPS.... any help?
 
Old 10-16-2008, 03:09 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,327

Rep: Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881
Quote:
Originally Posted by simonm View Post
When i build website in PHP which is shopping cart, and i opt to use SSL for checkout, do i have to put the files in a HTTPS different folder, as at the moment when i goto https://www.domain.com/checkout.php it says 404 page not found, whereas if i go to http://www.domain.com/checkout.php it works, but i have opted in software to use HTTPS.... any help?
You don't have to put it in a different directory, but you do have to make sure that OpenSSL support is enabled in Apache, and what port the SSL site is listening on.

Try putting in your https page with a ":663" after it.
 
Old 10-16-2008, 07:47 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Conventionally https is on port 443, see /etc/services. You also need to ensure that's enabled in httpd.conf and you've got an SSL Cert, either bought or self-generated.
 
  


Reply


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
https , htaccess and apache 2 :) unkn0wn Linux - Networking 1 05-07-2006 07:38 PM
Trying to using HTTPS in Apache 2.0.54-10.1 Wimpie22 Linux - Software 1 08-24-2005 04:37 PM
can't switch https off with apache 2 barrys Mandriva 2 10-22-2004 07:56 AM
apache and https? xviddivxoggmp3 Linux - Software 3 04-16-2004 12:22 AM
Apache https DavidPhillips Linux - General 3 03-11-2002 02:14 AM


All times are GMT -5. The time now is 10:39 PM.

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