• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

RewriteRule

M

MattElmore

Guest
I am attempting to emulate some of our old raq behavior on our new shiny plesk boxes. In short I am trying to get the /siteadmin and /admin aliases to go to :8443 port on any given domain. I thought the following should do it, but after adding it to the httpd.conf, while it doesn't error, it doesn't do anything at all.
Help?

RewriteEngine On
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/admin/?$ http://%1:8443 [L,R]
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/siteadmin/?$ http://%1:8443 [L,R]
 
Back
Top