httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] default server serving to change
Date Thu, 17 Jun 2010 11:45:52 GMT
On 14.06.10 11:56, Tapas Mishra wrote:
> 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
> correct
> so I added in
> the ReWriteRule in vhost of as follows

why rewrite rule when you can issue redirect by redirect directive?

Redirect /

(note the trailing slash, it should be there)

Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.

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