1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

RewriteRule

Discussion in 'Plesk for Linux - 8.x and Older' started by MattElmore, Oct 21, 2005.

  1. MattElmore

    MattElmore Guest

    0
     
    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]
     
  2. MattElmore

    MattElmore Guest

    0
     
Loading...