httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Mod-rewrite problem
Date Mon, 15 Nov 2010 13:31:18 GMT
> 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

No, the first argument is just the URL-path, not an entire URL.  But
you want plain old "Redirect /" anyway.

All this confusion might add up to you're not working in the
virtualhost handling the non-ssl request.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message