close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Secure transactions, https, 301 re-directs

Thread began 4/12/2010 3:38 am by dan322031 | Last modified 4/15/2010 12:54 am by dan322031 | 1180 views | 2 replies |

Dan808

Secure transactions, https, 301 re-directs

In a reply by Jason to secure eCart it is suggested redirecting all http traffic to the https server.

showthread.php?t=9999&highlight=redirecting+pages

So, I created a 301 Re-Direct .htaccess file and placed it in my root directory.
This works great, all traffic is directed to the https server.

This is the .htaccess file.
rewriteengine on
rewritecond %{HTTPS} off
rewritecond %{HTTP_HOST} ^.*$
rewriterule ^ "https\:\/\/247sign\.com\/" [R=301,L] #*************

rewritecond %{http_host} ^247sign.com [nc]
rewriterule ^(.*)$ https://www.247sign.com/$1 [r=301,nc]



However, The presence of the .htaccess file causes "All pages" to re-direct. So as soon as I click continue at PayPal it sends me back to my home page and not to the Submit Order Page.
Obviously, I need PayPal to send the customer to the Submit Order page and not to the Home Page.

How can I correct this?

Sign in to reply to this post

Jason ByrnesWebAssist

see the following for some examples of .htaccesas rules for redirecting HTTP traffic to HTTPS:
ssl-example-usage-in-htaccess.html

Sign in to reply to this post

Dan808

http:// redirect entire site to https:// - Works with Paypal

This is where I got the redirect.....
apache-redirect-http-to-https.html

This is what it looks like.....
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

This is how I feel. :D




Thank you Jason for the www.askapache.com link.
AWESOME but a bit advanced at the moment!
NOTE: The redirect syntax in my previous post was created using the online software from GoDaddy.com :eek: lol

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...