Skip to content

Instantly share code, notes, and snippets.

@thukuwanjiku
Last active September 24, 2020 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thukuwanjiku/49516639af33f70a3d0cd0eae515e955 to your computer and use it in GitHub Desktop.
Save thukuwanjiku/49516639af33f70a3d0cd0eae515e955 to your computer and use it in GitHub Desktop.
Default config file for Laragon located ~/laragon/etc/apache2/sites-enabled/
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/trunk/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
# First Virtual Host must be a shallow duplicate of the main host
# in httpd.conf
<VirtualHost *:88>
DocumentRoot "C:/laragon/www/upprinter"
<Directory "C:/laragon/www/upprinter">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment