osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[users@httpd] alias and redirect


Users!

...
Alias "/.well-known/acme-challenge/" "/var/run/acme/acme-challenge/"
<Directory "/var/run/acme/acme-challenge">
  AllowOverride None
#  Options None
  Options All +FollowSymLinks
  Require all granted
</Directory>

RedirectPermanent / https://subdomain.domain.ext/
...

This configuration redirects also
http://subdomain.domain.ext/.well-known/acme-challenge/
to
https://subdomain.domain.ext/.well-known/acme-challenge/

How can I bring about that 
http://subdomain.domain.ext/.well-known/acme-challenge/
is not redirected, but
http://subdomain.domain.ext/
and
http://subdomain.domain.ext/other
is redirected to
https://subdomain.domain.ext/
and
https://subdomain.domain.ext/other?

Kind regards,
Jaap van Wingerde.

-- 

Jaap van Wingerde
e-mail: 1234567890@xxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx