Install Party Printemps 2026 clôturée — présentation reportée en septembre
install-party.md : marque l'Install Party du 28 mars comme terminée, annonce une présentation en septembre 2026 (date à confirmer). SEO & métadonnées (home/index.html, overrides/main.html) : - Open Graph, Twitter Card, structured data Schema.org (Organization / WebSite) - canonical, rel="me" Mastodon, aria-label nav, dimensions logo explicites Wiki (docs/) : - meta description sur index.md et alpinux/index.md - boutons MkDocs Material sur alpinux/index.md, liens corrigés Infra : - robots.txt pour alpinux.org et wiki.alpinux.org - sitemap.xml home - configs vhost Apache alpinux.org et wiki.alpinux.org - suppression alpinux-logo.png (binaire servi depuis static.alpinux.org) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
59795da35c
commit
40bf40cec2
12 changed files with 282 additions and 30 deletions
|
|
@ -1,19 +1,18 @@
|
||||||
|
---
|
||||||
|
description: Présentation de l'association Alpinux, LUG (Linux User Group) et GULL de Savoie basé à Chambéry.
|
||||||
|
---
|
||||||
|
|
||||||
# Alpinux, le LUG de Savoie
|
# Alpinux, le LUG de Savoie
|
||||||
## Présentation de l'association Alpinux
|
|
||||||

|
|
||||||
|
|
||||||
L'association loi 1901 **Alpinux** n'est pas seulement un **Linux User Group** (LUG), c'est un **Groupe d'Utilisateurs de Logiciels Libres** (GULL). Nous nous engageons à promouvoir et à soutenir l'utilisation de logiciels libres et open source dans notre communauté. Nos activités ne se limitent pas seulement à Linux ; elles englobent un large éventail de technologies libres, de la réparation d'ordinateurs à l'administration de systèmes, en passant par la domotique et l'électronique.
|
L'association loi 1901 **Alpinux** n'est pas seulement un **Linux User Group** (LUG), c'est un **Groupe d'Utilisateurs de Logiciels Libres** (GULL). Nous nous engageons à promouvoir et à soutenir l'utilisation de logiciels libres et open source dans notre communauté. Nos activités ne se limitent pas seulement à Linux ; elles englobent un large éventail de technologies libres, de la réparation d'ordinateurs à l'administration de systèmes, en passant par la domotique et l'électronique.
|
||||||
|
|
||||||
Notre association organise des rencontres tous les 1er et 3ème jeudi de chaque mois *(note: hors période vacances scolaires, consulter le calendrier des évènements)* à partir de 18h à la **Dynamo Chambéry** et régulièrement des **Install Party**.
|
Notre association organise des rencontres tous les 1er et 3ème jeudi de chaque mois *(hors vacances scolaires — consulter le calendrier)* à partir de 18h à la **Dynamo Chambéry**, et régulièrement des **Install Party**.
|
||||||
|
|
||||||
L'association propose des **services numériques**.
|
L'association propose également des **services numériques** à ses membres.
|
||||||
|
|
||||||
[Gérer son adhésion](https://www.helloasso.com/associations/alpinux-le-lug-de-savoie)
|
[Gérer son adhésion](https://www.helloasso.com/associations/alpinux-le-lug-de-savoie){ .md-button }
|
||||||
[Install Party](alpinux:install-party.md)
|
[Install Party](install-party.md){ .md-button }
|
||||||
[Services numériques](alpinux:services-numeriques.md)
|
|
||||||
|
|
||||||
# Évènements
|
## Événements
|
||||||
[Abonnez-vous au calendrier](alpinux:evenements-rdv#abonnement-au-calendrier-des-evenements-alpinux
|
|
||||||
.md)
|
|
||||||
|
|
||||||
[Tous les évènements et rendez-vous](alpinux:evenements-rdv.md)
|
[Tous les événements et rendez-vous](evenements.md){ .md-button .md-button--primary }
|
||||||
|
|
|
||||||
|
|
@ -6,17 +6,16 @@ Découvrez **Linux Mint**, un système libre, rapide, sécurisé et élégant.
|
||||||
Lors de nos **Install Party**, les bénévoles **Alpinux** vous accompagnent pour l’installer sur votre ordinateur et répondre à toutes vos questions.
|
Lors de nos **Install Party**, les bénévoles **Alpinux** vous accompagnent pour l’installer sur votre ordinateur et répondre à toutes vos questions.
|
||||||
|
|
||||||
---
|
---
|
||||||
## 📅 Prochaines Install Party
|
## 📅 Bilan et prochaine étape
|
||||||
L'**Install Party de Printemps 2026** à la **Médiathèque de Chambéry Jean-Jaques Rousseau** :
|
|
||||||
|
|
||||||
- **Quand** : toute la journée du **samedi 28 mars 2026**
|
L’**Install Party de Printemps 2026** s’est tenue le **samedi 28 mars 2026** à la **Médiathèque Jean-Jacques Rousseau à Chambéry**. Merci à tous les participants et bénévoles !
|
||||||
- **Où** : **Médiathèque Jean-Jaques Rousseau à Chambéry **
|
|
||||||
- **S'inscrire** :[➡️ Mode d’emploi complet pour installer Linux Mint](https://www.helloasso.com/associations/alpinux-le-lug-de-savoie/evenements/install-party-de-printemps-28-mars]]
|
L’Install Party est terminée pour cette saison.
|
||||||
|
|
||||||
---
|
---
|
||||||
L'**Install Party de Rentrée 2026** :
|
### 🗓️ Prochaine date : présentation en septembre
|
||||||
|
|
||||||
- **Quand** : toute la journée du **samedi 19 septembre 2026**
|
Une **présentation** est prévue en **septembre 2026** — la date exacte sera confirmée prochainement.
|
||||||
|
|
||||||
---
|
---
|
||||||
## ⚙️ Préparez votre ordinateur
|
## ⚙️ Préparez votre ordinateur
|
||||||
|
|
@ -38,13 +37,13 @@ Une **clé USB Linux Mint** est fournie à votre arrivée.
|
||||||
Les bénévoles vous guident pas à pas tout au long du processus.
|
Les bénévoles vous guident pas à pas tout au long du processus.
|
||||||
Vous repartez avec un ordinateur rapide, stable et libre.
|
Vous repartez avec un ordinateur rapide, stable et libre.
|
||||||
|
|
||||||
[**Trousse de premiers secours Linux Mint**](technique:pratique:installer-linux-mint-depuis-windows)
|
[**Guide d’installation Linux Mint depuis Windows**](../guides/linux-mint-depuis-windows.md)
|
||||||
|
|
||||||
---
|
---
|
||||||
## 🧰 Après l’installation
|
## 🧰 Après l’installation
|
||||||
Consultez la [[technique:pratique:linux-mint-trousse-de-premiers-secours.md).
|
Consultez la [trousse de premiers secours Linux Mint](../guides/linux-mint-trousse.md).
|
||||||
|
|
||||||
Participez à nos [**ateliers et rencontres**](alpinux:evenements-rdv#calendrier.md) pour progresser et échanger avec la communauté.
|
Participez à nos [**ateliers et rencontres**](evenements.md) pour progresser et échanger avec la communauté.
|
||||||
|
|
||||||
---
|
---
|
||||||
## 🤝 Devenir bénévole
|
## 🤝 Devenir bénévole
|
||||||
|
|
@ -63,10 +62,8 @@ Pour l'**Install Party de Rentrée** et l'**Install Party de Printemps**, ambian
|
||||||
|
|
||||||
---
|
---
|
||||||
## ⚠️ Décharge de responsabilité
|
## ⚠️ Décharge de responsabilité
|
||||||
Veuillez lire la  avant l’installation.
|
Une décharge de responsabilité vous sera présentée avant l’installation.
|
||||||
|
|
||||||
---
|
---
|
||||||
## 🐧 Version de Linux utilisée
|
## 🐧 Version de Linux utilisée
|
||||||

|
|
||||||
|
|
||||||
Nous installons en priorité la version **Linux Mint x64 Cinnamon**.
|
Nous installons en priorité la version **Linux Mint x64 Cinnamon**.
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB |
|
|
@ -1,3 +1,7 @@
|
||||||
|
---
|
||||||
|
description: Wiki collaboratif d'Alpinux — guides Linux, tutoriels, présentations et ressources du LUG de Savoie.
|
||||||
|
---
|
||||||
|
|
||||||
# Wiki Alpinux
|
# Wiki Alpinux
|
||||||
|
|
||||||
Bienvenue sur le wiki collaboratif d'**Alpinux**, le LUG (Linux User Group) de Savoie.
|
Bienvenue sur le wiki collaboratif d'**Alpinux**, le LUG (Linux User Group) de Savoie.
|
||||||
|
|
|
||||||
4
docs/robots.txt
Normal file
4
docs/robots.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
Sitemap: https://wiki.alpinux.org/sitemap.xml
|
||||||
|
|
@ -3,16 +3,73 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="description" content="Alpinux — Le LUG de Savoie. Groupe d'utilisateurs de Linux et logiciels libres à Chambéry.">
|
<meta name="description" content="Alpinux — Le LUG de Savoie. Groupe d'utilisateurs de Linux et logiciels libres à Chambéry. Réunions tous les 1er et 3e jeudis du mois.">
|
||||||
<meta name="robots" content="index, follow">
|
<meta name="robots" content="index, follow">
|
||||||
<title>Alpinux — Le LUG de Savoie</title>
|
<title>Alpinux — Le LUG de Savoie</title>
|
||||||
|
|
||||||
|
<!-- Canonical -->
|
||||||
|
<link rel="canonical" href="https://alpinux.org/">
|
||||||
|
|
||||||
<!-- Favicons -->
|
<!-- Favicons -->
|
||||||
<link rel="icon" type="image/x-icon" href="https://static.alpinux.org/logo/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="https://static.alpinux.org/logo/favicon.ico">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="https://static.alpinux.org/logo/favicon-32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="https://static.alpinux.org/logo/favicon-32.png">
|
||||||
<link rel="icon" type="image/png" sizes="96x96" href="https://static.alpinux.org/logo/favicon-96.png">
|
<link rel="icon" type="image/png" sizes="96x96" href="https://static.alpinux.org/logo/favicon-96.png">
|
||||||
<link rel="apple-touch-icon" sizes="192x192" href="https://static.alpinux.org/logo/favicon-192.png">
|
<link rel="apple-touch-icon" sizes="192x192" href="https://static.alpinux.org/logo/favicon-192.png">
|
||||||
|
|
||||||
|
<!-- Open Graph -->
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content="Alpinux">
|
||||||
|
<meta property="og:title" content="Alpinux — Le LUG de Savoie">
|
||||||
|
<meta property="og:description" content="Association dédiée à Linux et aux logiciels libres en Savoie. Réunions à la Dynamo Chambéry tous les 1er et 3e jeudis du mois.">
|
||||||
|
<meta property="og:url" content="https://alpinux.org/">
|
||||||
|
<meta property="og:image" content="https://static.alpinux.org/logo/alpinux-logo-512.png">
|
||||||
|
<meta property="og:locale" content="fr_FR">
|
||||||
|
|
||||||
|
<!-- Twitter Card -->
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="Alpinux — Le LUG de Savoie">
|
||||||
|
<meta name="twitter:description" content="Association dédiée à Linux et aux logiciels libres en Savoie.">
|
||||||
|
<meta name="twitter:image" content="https://static.alpinux.org/logo/alpinux-logo-512.png">
|
||||||
|
<meta name="twitter:site" content="@alpinux">
|
||||||
|
|
||||||
|
<!-- Structured data -->
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "Organization",
|
||||||
|
"name": "Alpinux",
|
||||||
|
"alternateName": "Alpinux — LUG de Savoie",
|
||||||
|
"url": "https://alpinux.org",
|
||||||
|
"logo": "https://static.alpinux.org/logo/alpinux-logo-512.png",
|
||||||
|
"description": "Association loi 1901 dédiée à Linux et aux logiciels libres en Savoie. Groupe d'utilisateurs Linux (LUG) basé à Chambéry.",
|
||||||
|
"foundingLocation": {
|
||||||
|
"@type": "Place",
|
||||||
|
"name": "Chambéry",
|
||||||
|
"address": {
|
||||||
|
"@type": "PostalAddress",
|
||||||
|
"addressLocality": "Chambéry",
|
||||||
|
"addressRegion": "Savoie",
|
||||||
|
"addressCountry": "FR"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"location": {
|
||||||
|
"@type": "Place",
|
||||||
|
"name": "Dynamo Chambéry",
|
||||||
|
"address": {
|
||||||
|
"@type": "PostalAddress",
|
||||||
|
"addressLocality": "Chambéry",
|
||||||
|
"addressRegion": "Savoie",
|
||||||
|
"addressCountry": "FR"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sameAs": [
|
||||||
|
"https://mamot.fr/@alpinux",
|
||||||
|
"https://www.helloasso.com/associations/alpinux-le-lug-de-savoie",
|
||||||
|
"https://gitea.alpinux.org/alpinux.cedrica5l"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
|
|
@ -213,7 +270,10 @@
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<div class="logo-wrap">
|
<div class="logo-wrap">
|
||||||
<img src="https://static.alpinux.org/logo/alpinux-logo.png" alt="Logo Alpinux" class="logo-img">
|
<img src="https://static.alpinux.org/logo/alpinux-logo.png"
|
||||||
|
alt="Logo Alpinux — LUG de Savoie"
|
||||||
|
class="logo-img"
|
||||||
|
width="90" height="90">
|
||||||
<div class="logo-text">
|
<div class="logo-text">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span class="light">A</span><span class="bold">l</span><span class="light">p</span><span class="bold">inux</span>
|
<span class="light">A</span><span class="bold">l</span><span class="light">p</span><span class="bold">inux</span>
|
||||||
|
|
@ -227,12 +287,12 @@
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<nav>
|
<nav aria-label="Navigation principale">
|
||||||
<a href="https://wiki.alpinux.org">Wiki</a>
|
<a href="https://wiki.alpinux.org">Wiki</a>
|
||||||
<a href="https://portail.alpinux.org">Portail membres</a>
|
<a href="https://portail.alpinux.org">Portail membres</a>
|
||||||
<a href="https://installparty.alpinux.org">Install Party</a>
|
<a href="https://installparty.alpinux.org">Install Party</a>
|
||||||
<a href="https://gitea.alpinux.org">Gitea</a>
|
<a href="https://gitea.alpinux.org">Gitea</a>
|
||||||
<a href="https://mamot.fr/@alpinux">Mastodon</a>
|
<a href="https://mamot.fr/@alpinux" rel="me">Mastodon</a>
|
||||||
<a href="https://www.helloasso.com/associations/alpinux-le-lug-de-savoie">Adhérer</a>
|
<a href="https://www.helloasso.com/associations/alpinux-le-lug-de-savoie">Adhérer</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
@ -288,7 +348,7 @@
|
||||||
<p style="margin-top:.4rem;">
|
<p style="margin-top:.4rem;">
|
||||||
<a href="https://wiki.alpinux.org/alpinux/">À propos</a> ·
|
<a href="https://wiki.alpinux.org/alpinux/">À propos</a> ·
|
||||||
<a href="https://wiki.alpinux.org/alpinux/faq/">FAQ</a> ·
|
<a href="https://wiki.alpinux.org/alpinux/faq/">FAQ</a> ·
|
||||||
<a href="https://mamot.fr/@alpinux">Mastodon</a> ·
|
<a href="https://mamot.fr/@alpinux" rel="me">Mastodon</a> ·
|
||||||
<a href="https://www.helloasso.com/associations/alpinux-le-lug-de-savoie">Adhérer</a>
|
<a href="https://www.helloasso.com/associations/alpinux-le-lug-de-savoie">Adhérer</a>
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
4
home/robots.txt
Normal file
4
home/robots.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
Sitemap: https://alpinux.org/sitemap.xml
|
||||||
9
home/sitemap.xml
Normal file
9
home/sitemap.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<url>
|
||||||
|
<loc>https://alpinux.org/</loc>
|
||||||
|
<lastmod>2026-05-03</lastmod>
|
||||||
|
<changefreq>monthly</changefreq>
|
||||||
|
<priority>1.0</priority>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
||||||
|
|
@ -23,7 +23,6 @@ theme:
|
||||||
- search.suggest
|
- search.suggest
|
||||||
- content.code.copy
|
- content.code.copy
|
||||||
- content.code.select
|
- content.code.select
|
||||||
logo: assets/alpinux-logo.svg
|
|
||||||
font:
|
font:
|
||||||
text: Roboto
|
text: Roboto
|
||||||
code: Roboto Mono
|
code: Roboto Mono
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,51 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extrahead %}
|
{% block extrahead %}
|
||||||
|
{{ super() }}
|
||||||
|
<!-- Favicons -->
|
||||||
<link rel="icon" type="image/x-icon" href="https://static.alpinux.org/logo/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="https://static.alpinux.org/logo/favicon.ico">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="https://static.alpinux.org/logo/favicon-32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="https://static.alpinux.org/logo/favicon-32.png">
|
||||||
<link rel="icon" type="image/png" sizes="96x96" href="https://static.alpinux.org/logo/favicon-96.png">
|
<link rel="icon" type="image/png" sizes="96x96" href="https://static.alpinux.org/logo/favicon-96.png">
|
||||||
<link rel="apple-touch-icon" sizes="192x192" href="https://static.alpinux.org/logo/favicon-192.png">
|
<link rel="apple-touch-icon" sizes="192x192" href="https://static.alpinux.org/logo/favicon-192.png">
|
||||||
|
|
||||||
|
<!-- Open Graph -->
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:site_name" content="{{ config.site_name }}">
|
||||||
|
<meta property="og:title" content="{% if page and page.title %}{{ page.title }} — {{ config.site_name }}{% else %}{{ config.site_name }}{% endif %}">
|
||||||
|
<meta property="og:description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}">
|
||||||
|
<meta property="og:url" content="{% if page %}{{ page.canonical_url }}{% else %}{{ config.site_url }}{% endif %}">
|
||||||
|
<meta property="og:image" content="https://static.alpinux.org/logo/alpinux-logo-512.png">
|
||||||
|
<meta property="og:locale" content="fr_FR">
|
||||||
|
|
||||||
|
<!-- Twitter Card -->
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="{% if page and page.title %}{{ page.title }} — {{ config.site_name }}{% else %}{{ config.site_name }}{% endif %}">
|
||||||
|
<meta name="twitter:description" content="{% if page and page.meta and page.meta.description %}{{ page.meta.description }}{% else %}{{ config.site_description }}{% endif %}">
|
||||||
|
<meta name="twitter:image" content="https://static.alpinux.org/logo/alpinux-logo-512.png">
|
||||||
|
<meta name="twitter:site" content="@alpinux">
|
||||||
|
|
||||||
|
<!-- Structured data -->
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "WebSite",
|
||||||
|
"name": "{{ config.site_name }}",
|
||||||
|
"url": "{{ config.site_url }}",
|
||||||
|
"description": "{{ config.site_description }}",
|
||||||
|
"publisher": {
|
||||||
|
"@type": "Organization",
|
||||||
|
"name": "Alpinux",
|
||||||
|
"url": "https://alpinux.org",
|
||||||
|
"logo": {
|
||||||
|
"@type": "ImageObject",
|
||||||
|
"url": "https://static.alpinux.org/logo/alpinux-logo-512.png"
|
||||||
|
},
|
||||||
|
"sameAs": [
|
||||||
|
"https://mamot.fr/@alpinux",
|
||||||
|
"https://gitea.alpinux.org/alpinux.cedrica5l"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"inLanguage": "fr-FR"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
67
scripts/alpinux.org.vhost.conf
Normal file
67
scripts/alpinux.org.vhost.conf
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
# Apache vhost pour alpinux.org (page d'accueil)
|
||||||
|
# À créer via ISPConfig : Sites > Ajouter un site web
|
||||||
|
# Domaine : alpinux.org + www.alpinux.org | DocumentRoot : /var/www/clients/client1/web1/web
|
||||||
|
#
|
||||||
|
# Ce vhost gère également la migration SEO depuis l'ancienne infra (DokuWiki)
|
||||||
|
# vers la nouvelle (wiki.alpinux.org + alpinux.org)
|
||||||
|
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName alpinux.org
|
||||||
|
ServerAlias www.alpinux.org
|
||||||
|
Redirect permanent / https://alpinux.org/
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerName alpinux.org
|
||||||
|
ServerAlias www.alpinux.org
|
||||||
|
DocumentRoot /var/www/clients/client1/web1/web
|
||||||
|
|
||||||
|
# ── Redirections www → sans-www ─────────────────────────────────
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{HTTP_HOST} ^www\.alpinux\.org$ [NC]
|
||||||
|
RewriteRule ^ https://alpinux.org%{REQUEST_URI} [R=301,L]
|
||||||
|
|
||||||
|
# ── Migration SEO : anciennes URLs DokuWiki ──────────────────────
|
||||||
|
# L'ancien wiki tournait sur DokuWiki avec des URLs de type :
|
||||||
|
# /doku.php?id=namespace:page
|
||||||
|
# /wiki/doku.php?id=namespace:page
|
||||||
|
#
|
||||||
|
# Les deux-points (:) sont encodés %3A dans les query strings.
|
||||||
|
# On redirige vers wiki.alpinux.org avec des URLs propres.
|
||||||
|
|
||||||
|
# /doku.php?id=start → wiki.alpinux.org/
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=start$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/ [R=301,L]
|
||||||
|
|
||||||
|
# /doku.php?id=alpinux:start → wiki.alpinux.org/alpinux/
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=alpinux(%3A|:)start$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/alpinux/ [R=301,L]
|
||||||
|
|
||||||
|
# /doku.php?id=namespace:page → wiki.alpinux.org/namespace/page/
|
||||||
|
# Capture générique : transforme les ":" en "/" dans le chemin
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=([a-z0-9_-]+)(%3A|:)([a-z0-9_-]+)$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/%1/%3/ [R=301,L,NE]
|
||||||
|
|
||||||
|
# /doku.php?id=page (namespace racine) → wiki.alpinux.org/page/
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=([a-z0-9_-]+)$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/%1/ [R=301,L,NE]
|
||||||
|
|
||||||
|
# /wiki/* → wiki.alpinux.org/* (si l'ancien wiki était monté en sous-répertoire)
|
||||||
|
RewriteRule ^/wiki/(.*)$ https://wiki.alpinux.org/$1 [R=301,L]
|
||||||
|
|
||||||
|
# ── Fichiers statiques ───────────────────────────────────────────
|
||||||
|
<Directory /var/www/clients/client1/web1/web>
|
||||||
|
Options -Indexes +FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
DirectoryIndex index.html
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
ErrorLog /var/log/apache2/alpinux.org-error.log
|
||||||
|
CustomLog /var/log/apache2/alpinux.org-access.log combined
|
||||||
|
|
||||||
|
SSLEngine on
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/alpinux.org/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/alpinux.org/privkey.pem
|
||||||
|
</VirtualHost>
|
||||||
66
scripts/wiki.alpinux.org.vhost.conf
Normal file
66
scripts/wiki.alpinux.org.vhost.conf
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
# Apache vhost pour wiki.alpinux.org
|
||||||
|
# À créer via ISPConfig : Sites > Ajouter un site web
|
||||||
|
# Domaine : wiki.alpinux.org | DocumentRoot : /var/www/clients/client1/web2/web/wiki-static
|
||||||
|
#
|
||||||
|
# Ce vhost sert le wiki MkDocs (statique) et gère la migration SEO
|
||||||
|
# depuis l'éventuelle ancienne structure DokuWiki sur ce sous-domaine.
|
||||||
|
|
||||||
|
<VirtualHost *:80>
|
||||||
|
ServerName wiki.alpinux.org
|
||||||
|
Redirect permanent / https://wiki.alpinux.org/
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerName wiki.alpinux.org
|
||||||
|
DocumentRoot /var/www/clients/client1/web2/web/wiki-static
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
# ── Migration SEO : anciennes URLs DokuWiki sur ce sous-domaine ──
|
||||||
|
# Si l'ancien DokuWiki était hébergé ici avant la migration MkDocs
|
||||||
|
|
||||||
|
# /doku.php?id=start → /
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=start$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/ [R=301,L]
|
||||||
|
|
||||||
|
# /doku.php?id=alpinux:start → /alpinux/
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=alpinux(%3A|:)start$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/alpinux/ [R=301,L]
|
||||||
|
|
||||||
|
# /doku.php?id=namespace:page → /namespace/page/
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=([a-z0-9_-]+)(%3A|:)([a-z0-9_-]+)$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/%1/%3/ [R=301,L,NE]
|
||||||
|
|
||||||
|
# /doku.php?id=page → /page/
|
||||||
|
RewriteCond %{QUERY_STRING} ^id=([a-z0-9_-]+)$ [NC]
|
||||||
|
RewriteRule ^/doku\.php$ https://wiki.alpinux.org/%1/ [R=301,L,NE]
|
||||||
|
|
||||||
|
# URLs sans slash final → avec slash (cohérence MkDocs)
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_URI} !/$
|
||||||
|
RewriteRule ^(.+)$ $1/ [R=301,L]
|
||||||
|
|
||||||
|
# ── Fichiers statiques MkDocs ────────────────────────────────────
|
||||||
|
<Directory /var/www/clients/client1/web2/web/wiki-static>
|
||||||
|
Options -Indexes +FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
DirectoryIndex index.html
|
||||||
|
# Cache long pour les assets versionnés MkDocs
|
||||||
|
<FilesMatch "\.(css|js|woff2?|png|svg|ico)$">
|
||||||
|
Header set Cache-Control "public, max-age=31536000, immutable"
|
||||||
|
</FilesMatch>
|
||||||
|
# Pas de cache sur le HTML (contenu mis à jour)
|
||||||
|
<FilesMatch "\.html$">
|
||||||
|
Header set Cache-Control "public, max-age=3600"
|
||||||
|
</FilesMatch>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
ErrorLog /var/log/apache2/wiki.alpinux.org-error.log
|
||||||
|
CustomLog /var/log/apache2/wiki.alpinux.org-access.log combined
|
||||||
|
|
||||||
|
SSLEngine on
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/wiki.alpinux.org/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/wiki.alpinux.org/privkey.pem
|
||||||
|
</VirtualHost>
|
||||||
Loading…
Reference in a new issue