Last active
January 30, 2017 12:02
-
-
Save keithrozario/295f14fdf204e832a40da74aba68f95c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/RoverWire/virtualhost/blob/master/virtualhost.sh | |
http://www.grymoire.com/Unix/Sed.html#uh-42 | |
Use SED to modify: | |
-Document root to current wordpress install | |
-Load standard ApacheCFG from Git (optional) | |
-Use link above to create virtual host--might be enought...but I prefer SED | |
Generic Apache Config, but using SED to point Apache to $WPDIR -- best approach, as you don't have to worry about /var/www/html or other wp-config anomalies | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment