User Tools

Site Tools


apache

This is an old revision of the document!


Apache

Example Virtual Host

This should be created in /etc/apache2/sites-available/:

<VirtualHost *:80>
        ServerName opensource.glasgow.social

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/opensource

        ErrorLog ${APACHE_LOG_DIR}/opensource.glasgow.social-error.log
        CustomLog ${APACHE_LOG_DIR}/opensource.glasg0w.social-access.log combined

</VirtualHost>
apache.1632332765.txt.gz · Last modified: 2021/09/22 18:46 by admin