[Git][debian-edu/debian-edu-config][mr/fix-apache2-config] apache2 debian-edu-default.conf: Do not force HTTPS on *.crt (including Debian-Edu_rootCA.crt).

"Daniel Teichmann (@dzatoah)" <[email protected]> Fri, 13 Mar 2026 16:31:28 +0000
Newsgroups gmane.linux.skolelinux.cvs
Message-ID <[email protected]>

Daniel Teichmann pushed to branch mr/fix-apache2-config at Debian Edu / debian-edu-config


Commits:
64310e28 by Daniel Teichmann at 2026-03-13T17:31:15+01:00
apache2 debian-edu-default.conf: Do not force HTTPS on *.crt (including Debian-Edu_rootCA.crt).

Closes: #1068388

- - - - -


1 changed file:

- etc/apache2/sites-available/debian-edu-default.conf


Changes:

=====================================
etc/apache2/sites-available/debian-edu-default.conf
=====================================
@@ -7,7 +7,9 @@
 	<Directory /etc/debian-edu/www/ >
 		RewriteEngine On
 		RewriteCond %{SERVER_PORT} 80
+		# HTTP only: wpad.dat + Debian-Edu_rootCA.crt
 		RewriteCond %{REQUEST_URI} !\.dat$
+		RewriteCond %{REQUEST_URI} !\.crt$
 		RewriteRule ^(.*)$ https://%{SERVER_ADDRESS}/$1 [R=301,L]
 		Options Indexes FollowSymLinks MultiViews
 		AllowOverride None



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/64310e289e1793bb3450cda5e2626ffc5946c315

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/64310e289e1793bb3450cda5e2626ffc5946c315
You're receiving this email because of your account on salsa.debian.org.

_______________________________________________
debian-edu-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-edu-commits