httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DBAS <>
Subject [users@httpd] Apache Rewrite Rule for root directory
Date Fri, 13 Apr 2007 07:09:25 GMT

We want to use URL to access internet pages developed under
server eg, and etc...
as, and

The only way we have been able to do this to date is using the following
rewrite rules
<VirtualHost *:7779>
    Port 80
    RewriteEngine On
   RewriteOptions inherit
    # Project Pages
    Redirect /index.html
    RewriteRule ^/page1*$ /test/page1 [PT,L,NC]
    RewriteRule ^/page2*$ /test/page2 [PT,L,NC]
    # Project Folders
    RewriteRule ^/graphics/(.*)$ /test/graphics/$1 [PT,L,NC]
    LogLevel warn

Can anyone suggest an easier way to do this please?

Assistance is much appreciated.

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

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