Created
December 19, 2016 09:48
-
-
Save tedz2usa/fedfd05971f6284c4f312614ecbbc8f4 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
# Inside httpd-vhost.conf | |
<VirtualHost *:80> | |
ServerName docserver.proj | |
DocumentRoot "C:\Users\....\projectfolder\site" | |
ErrorLog "C:\Users\....\projectfolder\logs\errors.log" | |
CustomLog "C:\Users\....\projectfolder\logs\access.log" common | |
<Directory "C:\Users\....\projectfolder\site"> | |
Require all granted | |
DirectoryIndex index.php | |
</Directory> | |
</VirtualHost> | |
# Inside of httpd.conf, uncomment the line: | |
Include conf/extra/httpd-vhosts.conf | |
# Inside of system hosts file | |
127.0.0.1 testprojectfolder.com | |
# Restart the Apache service | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment