I want to develop facebook app locally and was trying to follow instructions on
https://devcenter.heroku.com/articles/facebook#working-locally
I installed lamp on Linux Mint 13 and created /etc/apache2/conf/extra/httpd-vhosts.conf as below.
NameVirtualHost *:80 VirtualHost *:80> DocumentRoot "/home/ashish" ServerName localhost /VirtualHost> VirtualHost *:80> DocumentRoot /home/ashish/savefromiad/blooming-stream-1211/ ServerName mycoolapp-dev.localhost SetEnv FACEBOOK_APP_ID 461561000551920 SetEnv FACEBOOK_SECRET 00000000000000000000000 /VirtualHost>
In my browser localhost works good, but trying to access mycoolapp-dev.localhost in browser fails.
"Oops! Google Chrome could not find mycoolapp-dev.localhost"
Any ideas?
I also get this error when I restarts apache
NameVirtualHost *:80 has no VirtualHosts
PS: Before all "VirtualHost" there is a "less then" sign.