httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Kurth <>
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,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message