Skip to content

Instantly share code, notes, and snippets.

View CrankyNVGuy's full-sized avatar

CrankyNVGuy CrankyNVGuy

View GitHub Profile
@CrankyNVGuy
CrankyNVGuy / vhosts.bat
Created February 25, 2018 22:42 — forked from ukazap/vhosts.bat
Windows batch script for creating new virtual host entries on Apache.
@echo off
rem adapted to use with XAMPP on Windows to enable virtual hosts.
rem -----Settings you can safely modify-----
set texteditor=notepad
set hostsfile=C:\Windows\System32\drivers\etc\hosts
set vhostsfile=C:/xampp/apache/conf/extra/httpd-vhosts.conf
set htdocs=C:/xampp/htdocs
set htdocsdos=C:\xampp\htdocs
rem -----End of Settings you can safely modify-----