httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: Problem with RewriteRule
Date Tue, 16 Apr 2002 23:42:31 GMT

On Tue, 16 Apr 2002 rdkurth@starband.net wrote:

> RewriteEngine On
> RewriteCond %{HTTP_HOST}                ^([^:]+)
> RewriteRule ^/admin/?$       http://www.domain.com:81/admincontrol/index.php
> RewriteRule ^/siteadmin/?$   http://www.domain.com:81/usercontrol/index.php
>

Have you tried
RewriteRule ^/admin/?$ http://%{HTTP_HOST}:81/admincontrol/index.php

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message