httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ImageCity/Hirotsuna Mizuno <>
Subject [users@httpd] http to https redirection with an exception
Date Mon, 15 Oct 2007 00:55:51 GMT
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 '^(/.*)$' '$1'

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?


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