User Tools

Site Tools


info:apache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
info:apache [2011/07/23 10:29] – created moritzinfo:apache [2019/03/25 14:34] – [Macros] added virtual host creation and build process hartmut
Line 12: Line 12:
  
  
-===== Macros =====+===== Macros/Virtual Hosts ===== 
 +Do not edit these directly. 
 +Use the config maintenance via bitbucket/git. 
 +See [[Configuration Management]] 
 + 
 +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 /etc/apache2/sites-available/hosts.it 
 +(Change to this directory before executing the commands mentioned below!) 
 +This is a list of virtual hosts. 
 + 
 +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: 
 +<code>certbot certonly -c letsencrypt.ini --apache</code>
  
  
  
  
info/apache.txt · Last modified: 2024/03/06 02:16 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki