Re: [users@httpd] Redirect https' 404 to http...

2011-11-28 Thread Tom Evans
On Mon, Nov 28, 2011 at 11:00 AM, John Doe wrote: > Ok.  We will have to weight the additional load... > I understand it will be doubled in case of a 200 (low occurences). > But for all the 404s, it is only configuration parsing in RAM, plus > one "file not found" on the filesystem, right? > No,

Re: [users@httpd] Redirect https' 404 to http...

2011-11-28 Thread John Doe
From: Igor Galić > I'd use mod_macro for that: >   http://www.cri.ensmp.fr/~coelho/mod_macro/ > >   ServerName $name >   DocumentRoot /srv/web/$name >   SSLStuff /some/place/$name >   ErrorDocument 404 http://$name/not404 > > mod_macro looks nice; but I do not think it would solve my problem

Re: [users@httpd] Redirect https' 404 to http...

2011-11-28 Thread Igor Galić
- Original Message - > From: Igor Galić > >> is there a simple way to redirect all https' 404 to http? > > I don't get it. > > What problem are you trying to solve? > > Just as I said; "redirect all https' 404 to http" > We want to limit https to a few URLs... > https://host/nonhttpsur

Re: [users@httpd] Redirect https' 404 to http...

2011-11-28 Thread John Doe
From: Igor Galić >> is there a simple way to redirect all https' 404 to http? > I don't get it. > What problem are you trying to solve? Just as I said; "redirect all https' 404 to http" We want to limit https to a few URLs... https://host/nonhttpsurl => 404 => http://host/nonhttpsurl => 200 F

Re: [users@httpd] Redirect https' 404 to http...

2011-11-25 Thread Igor Galić
- Original Message - > Hi, > > Apache newbie here. > > is there a simple way to redirect all https' 404 to http? > I searched for some solutions but could not find any... > > Is there a rewrite variable that holds the http return code? > Something like: > >   RewriteCond %{HTTPS} on >   R

Re: [users@httpd] Redirect https' 404 to http...

2011-11-25 Thread Tom Evans
On Fri, Nov 25, 2011 at 11:54 AM, John Doe wrote: > Hi, > > Apache newbie here. > > is there a simple way to redirect all https' 404 to http? > I searched for some solutions but could not find any... > > Is there a rewrite variable that holds the http return code? Interesting one. There is nothin

[users@httpd] Redirect https' 404 to http...

2011-11-25 Thread John Doe
Hi, Apache newbie here. is there a simple way to redirect all https' 404 to http? I searched for some solutions but could not find any... Is there a rewrite variable that holds the http return code? Something like:   RewriteCond %{HTTPS} on   RewriteCond %{RETURN_CODE} 404   RewriteRule (.*) ht