• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Rewrite https to http on Godaddy dedicatd host

C

chaoticmess

Guest
Hi,

I've a dedicated server at GoDaddy and would like to have all my traffic run over http unless someone is using the shopping cart and in that case traffic should be wrapped in https. The SSL port is running the default plesk page. I've written apache rewrite rules to allow me to convert anything without shoppingcart in the request to be redirected to http and anything with it to be redirected to https. I've rules like this

RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{HTTP_HOST} ^www.domainforme.com$
RewriteCond %{REQUEST_URI} !^/shoppingcart
RewriteRule ^(.*)$ http://www.domainforme.com/$1 [R,L]

I've placed these statemesnts in /etc/httpd/conf.d/zz010_psa_httpd.conf and done a apachectl graceful but my rules don't take effect. Where's the best place for http to https (and vice versa) rewrite rules to be and why doesnt apachectl control the server as expected.

Thanks, CM
 
Back
Top