LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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 06:01 PM. Reason: [mod_edit]we don't do this around here[/mod_edit]
 
Old 01-21-2009, 06: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, 09: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, 02: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, 06: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



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 01:51 PM
Apache Error (Internal Server Error) dwarf007 Linux - Software 1 07-17-2005 01:16 PM
Apache Error Verbal Kint Linux - Software 5 05-23-2005 02:28 PM
Apache Error nrmx Linux - Software 8 10-28-2004 02:36 PM
Apache Error alimharji Linux - Software 1 07-23-2004 06:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:43 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
Open Source Consulting | Domain Registration