httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <>
Subject [users@httpd] default server serving to change
Date Mon, 14 Jun 2010 06:26:02 GMT
I have 5 websites running on a webserver.
I read Apache docs Apache serves the vhost file in alphabetical order
of name of vhost file.

I have a few subdomains on main domain

as follows

in one of them which is served by default I want to redirect to
so I added in

the ReWriteRule in vhost of as follows

 ReWriteRule ^/$ /var/www/index.html [NC,L]
 ReWriteRule ^/$ /var/www/index.html [NC,L]

I checked the ReWriteLogs by

ReWriteLog "/var/log/apache2/mydomain_rewrite_log"
ReWriteLogLevel 9

could not understand much.

My problem is the ReWriteRule did not do as I wanted it to do.So I
have written some thing in correct.
Can some one help to find what is the problem in above ReWriteRule?


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