Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
> On 15 November 2010 17:17, Matus UHLAR - fantomas wrote: > > > Redirect / https://www.site.co.za > > > > in the VirtualHost section for site.co.za (yes, you need separate virtual > > host) > > > > I hope you have SSL certificate for www.site.co.za with alternative name > > site.co.za, otherwise

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Frank Gingras
On 11/15/2010 12:37 PM, Rudi Kramer wrote: On 15 November 2010 17:17, Matus UHLAR - fantomas mailto:uh...@fantomas.sk>> wrote: Redirect / https://www.site.co.za in the VirtualHost section for site.co.za (yes, you need separate virtual host) I hope you

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Rudi Kramer
On 15 November 2010 17:17, Matus UHLAR - fantomas wrote: > Redirect / https://www.site.co.za > > in the VirtualHost section for site.co.za (yes, you need separate virtual > host) > > I hope you have SSL certificate for www.site.co.za with alternative name > site.co.za, otherwise browsers will rep

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
> On 15 November 2010 14:40, Matus UHLAR - fantomas 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.11.10 15:27, Rudi Kramer wrote: > > ServerName www.site

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Eric Covener
> 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

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Rudi Kramer
On 15 November 2010 14:40, Matus UHLAR - fantomas 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 wrote: > > There is

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Matus UHLAR - fantomas
- "Rudi Kramer" wrote: > I am using ubunto 8.0.4 and apache 2.2.8 and I'm having some issue > with mod rewrite and SSL redirection. > > I have two objectives. The first is to redirect http://www.site.co.za > and http://site.co.za to the url https://www.site.co.za and the second > is to redire

Re: [us...@httpd] Mod-rewrite problem

2010-11-15 Thread Igor Galić
- "Rudi Kramer" wrote: > Hi, > > > I am using ubunto 8.0.4 and apache 2.2.8 and I'm having some issue > with mod rewrite and SSL redirection. > > > I have two objectives. The first is to redirect http://www.site.co.za > and http://site.co.za to the url https://www.site.co.za and the seco

[us...@httpd] Mod-rewrite problem

2010-11-15 Thread Rudi Kramer
Hi, I am using ubunto 8.0.4 and apache 2.2.8 and I'm having some issue with mod rewrite and SSL redirection. I have two objectives. The first is to redirect http://www.site.co.za and http://site.co.za to the url https://www.site.co.za and the s