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 01-21-2009, 06:21 PM   #1
simonm
LQ Newbie
 
Registered: Sep 2008
Posts: 29

Rep: Reputation: 15
Apache Error


We are running interspire shopping cart on a dedicated server, which runs ubuntu 8.

We have installed SSL, but when we do this, our site no longer shows on http:// and only shows on https://

Interspire engineers gave me an .htaccess file which redirects http:// requests to https:// but it did not work, and after testing, they said that it seems this is an apache specific error.

Can anyone help with this in lamens terms as i am a newbie in linux.


Thank you.

Last edited by Tinkster; 01-21-2009 at 07:01 PM. Reason: [mod_edit]we don't do this around here[/mod_edit]
 
Old 01-21-2009, 07:12 PM   #2
wernerz
Member
 
Registered: Jun 2008
Location: Ottawa, Ontario, Canada
Distribution: debian, dsl-n
Posts: 55

Rep: Reputation: 15
This link might help:

http://www.cyberciti.biz/tips/howto-...nnections.html
 
Old 01-21-2009, 10:01 PM   #3
yzhong
Member
 
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56

Rep: Reputation: 16
Add these to your httpd.conf

RewriteEngine on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
 
Old 01-22-2009, 03:32 AM   #4
simonm
LQ Newbie
 
Registered: Sep 2008
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you, where abouts in the httpd.conf file do i add these lines, anywhere?
 
Old 01-22-2009, 07:53 PM   #5
yzhong
Member
 
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56

Rep: Reputation: 16
if you use vhost, add to

<VirtualHost *:80>
...
</VirtualHost>

otherwise doesn't matter
 
  


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
apache 1.3.27, https url returns error -12263 in Firefox, fatal error (40) in Opera leo22838 Linux - Server 0 04-04-2008 02:51 PM
Apache Error (Internal Server Error) dwarf007 Linux - Software 1 07-17-2005 02:16 PM
Apache Error Verbal Kint Linux - Software 5 05-23-2005 03:28 PM
Apache Error nrmx Linux - Software 8 10-28-2004 03:36 PM
Apache Error alimharji Linux - Software 1 07-23-2004 07:01 AM


All times are GMT -5. The time now is 03:46 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