From 093de43fa23a69c7805a3108d35d7118d8f77519 Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 28 Nov 2025 14:51:21 +0200 Subject: [PATCH 1/2] desters --- docs/book/v1/faq.md | 8 ++++---- docs/book/v2/faq.md | 6 +++--- wsl/config.yml.dist | 13 ------------- 3 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 wsl/config.yml.dist diff --git a/docs/book/v1/faq.md b/docs/book/v1/faq.md index b64b3d6..1a5fac6 100644 --- a/docs/book/v1/faq.md +++ b/docs/book/v1/faq.md @@ -169,18 +169,18 @@ sudo dnf upgrade -y ## How do I delete a virtualhost? -If for whatever reason you want to delete a virtualhost, you need to do the following: +If for whatever reason you want to delete a virtualhost, for instance `to-be-deleted.localhost` you need to do the following: -* Delete the folder where are the files located +* Delete the folder where the files are located ```shell -sudo rm -rf /var/www/tobedeleted.localhost +sudo rm -rf /var/www/to-be-deleted.localhost ``` * Delete the Apache configuration file ```shell -sudo rm -f /etc/httpd/sites-available/desters.localhost.conf +sudo rm -f /etc/httpd/sites-available/to-be-deleted.localhost.conf ``` * Restart httpd server diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index 2656668..c9506c6 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -218,18 +218,18 @@ sudo systemctl restart mariadb ## How do I delete a virtualhost? -If for whatever reason you want to delete a virtualhost, you need to do the following: +If for whatever reason you want to delete a virtualhost, for instance `to-be-deleted.localhost` you need to do the following: * Delete the folder where are the files located ```shell -sudo rm -rf /var/www/tobedeleted.localhost +sudo rm -rf /var/www/to-be-deleted.localhost ``` * Delete the Apache configuration file ```shell -sudo rm -f /etc/httpd/sites-available/desters.localhost.conf +sudo rm -f /etc/httpd/sites-available/to-be-deleted.localhost.conf ``` * Restart httpd server diff --git a/wsl/config.yml.dist b/wsl/config.yml.dist deleted file mode 100644 index c316c8a..0000000 --- a/wsl/config.yml.dist +++ /dev/null @@ -1,13 +0,0 @@ -config: - git: - config: - "user.name": "" - "user.email": "" - mariadb: - root_password: "" - system: - username: "{{ lookup('env', 'USER') }}" - # Add as many virtualhosts as needed - if a virtualhost already exists, it will be skipped - # example.localhost is an example, you can remove it and add your own local domains - virtualhosts: - - "example.localhost" From abd3d142f2cb85960c95bba5a00c1994adce2bc1 Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 28 Nov 2025 14:57:39 +0200 Subject: [PATCH 2/2] desters --- wsl/config.yml.dist | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wsl/config.yml.dist diff --git a/wsl/config.yml.dist b/wsl/config.yml.dist new file mode 100644 index 0000000..c316c8a --- /dev/null +++ b/wsl/config.yml.dist @@ -0,0 +1,13 @@ +config: + git: + config: + "user.name": "" + "user.email": "" + mariadb: + root_password: "" + system: + username: "{{ lookup('env', 'USER') }}" + # Add as many virtualhosts as needed - if a virtualhost already exists, it will be skipped + # example.localhost is an example, you can remove it and add your own local domains + virtualhosts: + - "example.localhost"