Skip to content

Instantly share code, notes, and snippets.

View matjack1's full-sized avatar

Matteo Giaccone matjack1

View GitHub Profile
#!/bin/bash
# Set a new vhost in lamp for Linux.
# .vhostrc is adaptable for LAMPP: just add in your
# /opt/lampp/etc/httpd.conf a section like this:
#
# # Virtual hosts
# Include etc/extra/sites-enabled/*
#
# and create such dir:
# $sudo mkdir /opt/lampp/etc/extra/sites-enabled/