On 15 November 2010 14:40, Matus UHLAR - fantomas <uh...@fantomas.sk> wrote:

>
> There is no need for mod_rewrite. the Redirect directive can do exactly the
> same with less of workload.
>
> You don't need a cannon for shooting birds, do you?



On 15 November 2010 14:40, Matus UHLAR - fantomas <uh...@fantomas.sk> wrote:
>
> There is no need for mod_rewrite. the Redirect directive can do exactly the
> same with less of workload.
>
> You don't need a cannon for shooting birds, do you?


Depends on how big the birds are. My birds are not so big :-)

I have have changed the port 80 virtual host to use redirectmatch and it
looks much neater.

<VirtualHost *:80>
ServerName www.site.co.za
ServerAlias site.co.za

RedirectMatch ^ https://www.site.co.za/
</VirtualHost>

but I still cannot get it right to redirect the https://site.co.za redirect
to https://www.site.co.za, I think it might be my lack understanding of
regex though.

Does this look right?

RedirectMatch ^http\://bpultimateride\.co\.za
https://www.bpultimateride.co.za/


Regards
Rudi

Reply via email to