httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Kurth <rdku...@starband.net>
Subject [users@httpd] rewrite rules
Date Tue, 01 Jun 2004 19:41:56 GMT


I can not get these rewrite rules to work in httpd 2.0.49
when I try to do  the redirect it gives me an error that file does not
exist. These worked just fine in Apache 3.*. Has anything changed in
httpd 2.*

RewriteEngine On
RewriteCond %{HTTP_HOST}                    ^([^:]+)
RewriteRule ^/acp/?$                        http://%1:8080/autocontrol/index.php
RewriteCond %{HTTP_HOST}                    ^([^:]+)
RewriteRule ^/ucp/?$                        http://%1:8080/user/index.php
RewriteCond %{HTTP_HOST}                    ^([^:]+)
RewriteRule ^/rcp/?$                        http://%1:8080/resellerpanel/index.php
RewriteCond %{HTTP_HOST}                    ^([^:]+)
RewriteRule ^/ecp/?$                        http://%1:8080/emailuser/index.php


  

-- 
Best regards,
 Richard                          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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message