• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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