You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by rd...@starband.net on 2002/04/17 01:59:52 UTC
Re[2]: Problem with RewriteRule
Hello Joshua,
That work Thanks it's funny how the easy things are overlooked I was
looking for something a lot harder than changing one little thing
Tuesday, April 16, 2002, 4:42:31 PM, you wrote:
JS> 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
>>
JS> Have you tried
JS> RewriteRule ^/admin/?$ http://%{HTTP_HOST}:81/admincontrol/index.php
JS> Joshua.
JS> ---------------------------------------------------------------------
JS> The official User-To-User support forum of the Apache HTTP Server Project.
JS> See <URL:http://httpd.apache.org/userslist.html> for more info.
JS> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
JS> For additional commands, e-mail: users-help@httpd.apache.org
--
Best regards,
rdkurth mailto:rdkurth@starband.net
---------------------------------------------------------------------
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