httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ImageCity/Hirotsuna Mizuno <>
Subject Re: [users@httpd] http to https redirection with an exception
Date Mon, 15 Oct 2007 23:22:18 GMT
joy d wrote:
> You can use mod_rewrite and define a RewriteCond for the except case.

Thank you for your appropriate advice.

Unfortunately, our Apache server was compiled without mod_rewrite, and
it's not allowed to re-compile it. Therefore, the following way is our
current candidate.

  RedirectMatch permanent '^(/|/[^r].*)$' '$1'

I know it's *really* dull approach. But it works at least with our site
while it has no resource starting with "r" except the "robots.txt".

Thank you a lot for thinking about this problem, and if someone has
other ideas, I hope to hear about that.

Best regards,
Hirotsuna Mizuno <>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message