Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open with vim and root privileges:
- sudo vim /private/etc/apache2/extra/httpd-vhosts.conf /private/etc/hosts
- In the file: `/private/etc/apache2/extra/httpd-vhosts.conf`
- <VirtualHost *:80>
- DocumentRoot "/Users/mkitt/Sites/project"
- ServerName project
- </VirtualHost>
- In the file: `/private/etc/hosts`
- 127.0.0.1 project
- Restart Apache
Add Comment
Please, Sign In to add comment