• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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