Skip to content

Instantly share code, notes, and snippets.

@aczietlow
Last active April 9, 2023 14:26
Show Gist options
  • Select an option

  • Save aczietlow/7897446 to your computer and use it in GitHub Desktop.

Select an option

Save aczietlow/7897446 to your computer and use it in GitHub Desktop.
apache 2.4 vhost example
<VirtualHost *:80>
ServerName {zietlow.dev}
ServerAlias {*.zietlow.dev}
DocumentRoot {/home/aczietlow/Sites/zietlow/dev/www}
# Optional per project error logging.
ErrorLog {/home/aczietlow/Sites/zietlow/dev/zietlow.log}
<Directory {/home/aczietlow/Sites/zietlow/dev/www/}>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment