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 <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to