[WLUG] Apache 2.4 config problem
Chris Baty
batymahn at gmail.com
Thu Mar 27 09:32:06 EDT 2014
Hi Guys,
I used to be able to configure an Apache2.2 virtual host in my sleep but I
haven't done it for a while. So I set my config
"newsite.mysite.com.conf<http://mysite.com>"
file in sites-available and did the traditional a2ensite
newsite.mysite.com<http://mysite.com>.
I keep the classic "It works!" Apache home page rather than my new
wordpress site. Here's my config file:
<VirtualHost *:80>
ServerName newsite.mysite.com
DocumentRoot /var/www/newsite
ServerAdmin chris at aacil.org
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/newSite >
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Deny from all
</Directory>
</VirtualHost>
I also put
127.0.0.1 newsite.mysite.com
in /etc/hosts
Any help would be appreciated.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux.marcdatabase.com/pipermail/washlug/attachments/20140327/94b1932c/attachment.html
More information about the washlug
mailing list