From: Igor Galić <i.galic@xxxxxxxxxxxxxx> >> 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 From: Tom Evans <tevans.uk@xxxxxxxxxxxxxx> > What you can do is do an 'is an existing URL check, via a subrequest' > with the -U flag. Something like this: > > RewriteCond %{HTTPS} On > RewriteCond ! -U %{REQUEST_URI} > RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} > > However, I would never do this. This would make every single SSL > request make an additional request to see if the URL exists, which > would be very expensive. 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? Thx, JD --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx