Hi, all.

I'm currently using the RedirectMatch(mod_alias) directive to redirect
all HTTP requests to corresponding HTTPs urls. My current httpd.conf is
like this:
   ________________________________________________________________
   <VirtualHost *:80>
      RedirectMatch permanent '^(/.*)$' 'https://www.example.com$1'
   </VirtualHost>
   ________________________________________________________________

This works fine, and redirects all HTTP requests without exception.

In addition to this, there is a new condition. I'm trying to redirect
all requests except "/robots.txt", but I can't find way to do this. Is
there any good way to do this?

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