• Resolved inndesign

    (@inndesign)


    The applied .htaccess edits by Really Simply SSL redirected Port 80. PayPal IPN uses standard HTTP POST so it should be on port 80. I asked the server tech why this was, and he explained it is because of the SSL being installed: This is because you have set up an automatic redirect for anything on that site to automatically be redirected to SSL. This means that even requests that specifically tell the server to use port 80 are immediately sent to https, on a different port. You can see the rule in the .htaccess file for /home/useraccount/public_html.

    As a result of this redirect, Paypal Payflow is dysfunctional. How to fix?

    # BEGIN rlrssslReallySimpleSSL rsssl_version[2.3.13]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
Viewing 1 replies (of 1 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi,

    It seems a bit strange that a payment gateway cannot function over SSL. The point of the redirect indeed is to redirect all requests to SSL. But you can add an extra condition to exclude one url, so the redirect looks like this:

    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteCond %{REQUEST_URI} !/your-page-not-ssl/
    RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301, L]

    Before you add this, go the settings/ssl, and in the settings enable “stop editing the .htaccess file”. Otherwise your edits get rewritten when you load the SSL settings page.

    See also https://really-simple-ssl.com/knowledge-base/enabling-or-excluding-ssl-for-just-one-page/

Viewing 1 replies (of 1 total)
  • The topic ‘Port 80 Function Lost’ is closed to new replies.