Reputation: 727
I'm trying to install wordpress but i'm confused as to how the Apache Vhost should look.
Ideally i'm after a vhost setup that adds additional security (make sure referrer is correct when doing comments)
I cant seem to find this anywhere (i'm not the best searcher)
Upvotes: 0
Views: 6131
Reputation: 2680
This guide for vhosts using mamp will help you with the setup! This saved me a lot of time.
Upvotes: 0
Reputation: 14618
It's pretty straight forward
from http://ubuntuforums.org/showthread.php?t=794248:
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /path/to/new/site ServerName www.example.com </VirtualHost>
sudo a2ensite <site name>
sudo /etc/init.d/apache2 restart
Upvotes: 4