httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ImageCity/Hirotsuna Mizuno <h-miz...@imagecity.jp>
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].*)$' 'https://www.example.com$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.

Thanks.
Best regards,
--
Hirotsuna Mizuno <h-mizuno@imagecity.jp>


---------------------------------------------------------------------
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