<div dir="ltr"><div>hi,<br><br></div>I just noticed some stuff was not functioning properly and it's because the crl url is being redirected to https (centos 6.7).<br><br><br clear="all"><div><div>$ curl <a href="http://kdc01.unix.domain.tld/ipa/crl/">http://kdc01.unix.domain.tld/ipa/crl/</a><br><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br><html><head><br><title>301 Moved Permanently</title><br></head><body><br><h1>Moved Permanently</h1><br><p>The document has moved <a href="<a href="https://kdc01.unix.domain.tld/ipa/crl/">https://kdc01.unix.domain.tld/ipa/crl/</a>">here</a>.</p><br><hr><br><address>Apache/2.2.15 (CentOS) Server at kdc01.unix.domain.tld Port 80</address><br></body></html><br><br></div><div>This is ipa-rewrite.conf, it should not be happening, but it does:<br></div><div><br>$ cat ipa-rewrite.conf<br># VERSION 3 - DO NOT REMOVE THIS LINE<br><br>RewriteEngine on<br><br># By default forward all requests to /ipa. If you don't want IPA<br># to be the default on your web server comment this line out.<br>RewriteRule ^/$ <a href="https://kdc01.unix.iriszorg.nl/ipa/ui">https://kdc01.unix.iriszorg.nl/ipa/ui</a> [L,NC,R=301]<br><br># Redirect to the fully-qualified hostname. Not redirecting to secure<br># port so configuration files can be retrieved without requiring SSL.<br>RewriteCond %{HTTP_HOST}    !^<a href="http://kdc01.unix.iriszorg.nl">kdc01.unix.iriszorg.nl</a>$ [NC]<br>RewriteRule ^/ipa/(.*)      <a href="http://kdc01.unix.iriszorg.nl/ipa/$1">http://kdc01.unix.iriszorg.nl/ipa/$1</a> [L,R=301]<br><br># Redirect to the secure port if not displaying an error or retrieving<br># configuration.<br>RewriteCond %{SERVER_PORT}  !^443$<br>RewriteCond %{REQUEST_URI}  !^/ipa/(errors|config)<br>RewriteRule ^/ipa/(.*)      <a href="https://kdc01.unix.iriszorg.nl/ipa/$1">https://kdc01.unix.iriszorg.nl/ipa/$1</a> [L,R=301,NC]<br><br></div><div>Any ideas on how to fix this?<br><br></div><div>Thanks!<br></div><div><div class="gmail_signature">--<br>Groeten,<br>natxo</div>
</div></div></div>