Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first -
- /etc/hosts
- 127.0.0.1 facebook.com
- 127.0.0.1 www.facebook.com
- then -
- /etc/apache2/extra/httpd-vhosts.conf
- <VirtualHost *:80>
- DocumentRoot "/Users/[username]/Sites/better"
- ServerName facebook.com
- </VirtualHost>
- <VirtualHost *:80>
- DocumentRoot "/Users/[username]/Sites/better"
- ServerName www.facebook.com
- </VirtualHost>
- <Directory /Users/*/Sites/>
- Options Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- - after that
- /Users/[username]/Sites/better/index.html
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Everything Better</title>
- <style type="text/css">
- * { margin: 0; padding: 0;}
- body { background-color: #E3E6C0;}
- #thisisyourlife { margin: 0 auto; height: 435px; border-left: 8px solid #5F1470; text-align: center; padding-top: 200px; }
- #thisisyourlife h1 { color: #FFFFFF; font-style: italic; font-size: 8em; border-bottom: 2px dashed #64A621; margin: 0 10%;}
- span.em { font-size: 110%;}
- </style>
- </head>
- <body>
- <div id="thisisyourlife">
- <h1><span class="em">m</span>ake <span class="em">s</span>omething.</h1>
- </div>
- </body>
- </html>
- - lastly
- dscacheutil -flushcache
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement