info:apache
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| info:apache [2011/07/23 08:29] – created moritz | info:apache [2024/03/06 01:16] (current) – [Macros/Virtual Hosts] moritz | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - | ===== Macros ===== | + | ===== Macros/Virtual Hosts ===== |
| + | Do not edit these directly. | ||
| + | Use the config maintenance via bitbucket/ | ||
| + | See [[infra: | ||
| + | |||
| + | Pull the files to your local machine and there, make changes, test, then commit them, push them to bitbucket and pull them to the vhost. | ||
| + | |||
| + | |||
| + | Virtual hosts are listed in / | ||
| + | (Change to this directory before executing the commands mentioned below!) | ||
| + | This is a list of virtual hosts. | ||
| + | |||
| + | Enable the site using a2ensite, or create the symlink manually. | ||
| + | |||
| + | The heavier lifting is in vhosts.ih, where the conf files for the vhosts are built. | ||
| + | To build, use the supplied hosts.cmd, which takes care of spurious output. You need REXX to do this. | ||
| + | vhosts.ih contains common rules for all the virtual hosts, review this file to change them. | ||
| + | |||
| + | When you add virtual hosts, you also have to update the DNS with entries for them. | ||
| + | |||
| + | After that, wait some time, then, request TLS certificates: | ||
| + | < | ||
| + | |||
| + | Test certbot: | ||
| + | < | ||
| + | |||
| + | If apache cannot serve the letsencrypt challenge, use < | ||
| + | |||
info/apache.1311409744.txt.gz · Last modified: by moritz
