Skip to content

Commit

Permalink
Merge pull request #1531 from afup/redirection_suppression
Browse files Browse the repository at this point in the history
on enlève la condition de redirection en https
  • Loading branch information
agallou authored Aug 31, 2024
2 parents 093ff4a + c455eee commit 1608022
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions htdocs/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ RewriteRule ^enquete$ "https://docs.google.com/forms/d/e/1FAIpQLSdtPRqp7AL73RhUS

# If the requested filename exists, simply serve it.
# We only want to let Apache serve files and not directories.
RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
Expand Down
3 changes: 0 additions & 3 deletions htdocs/pages/.htaccess
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=302]

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Expand Down

0 comments on commit 1608022

Please sign in to comment.