You have to add the ServerName directive into the lh-test_site file:
ServerName testsite
DocumentRoot /var/www/test_site
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/test_site/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
then inside /etc/hosts add:
127.0.0.1 testsite
and run a2ensite as before, it should work.
cereal
Veteran Poster
1,146 posts since Aug 2007
Reputation Points: 344
Solved Threads: 223
Skill Endorsements: 22
Question Answered as of 6 Months Ago by
cereal