Forum Moderators: phranque
<VirtualHost *:80>
ServerName test
ServerAdmin webmaster@localhost
DocumentRoot /home/larry/web/test/public_html
LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
[edited by: not2easy at 7:29 pm (utc) on Jul 3, 2020]
[edit reason] readability [/edit]
[edited by: not2easy at 10:00 pm (utc) on Jul 3, 2020]
When I try to open http://test I've created a .conf file in the apache2/sites-available folder
<Directory /home/larry/web/test/public_html>
Require all granted
</Directory>
[edited by: phranque at 12:28 am (utc) on Jul 14, 2020]
[edit reason] unlinked urls [/edit]
<Directory /var/www/html> <-----Where ever your website files are
Require all granted
</Directory> . Include /etc/phpmyadmin/apache.conf.