i installed my wordpress on my ubuntu 11.10 running the lamp-server. i created a virtual host for my site by editing the hosts file and apache config file so that my installion directory is different from /var/www.
i put up wordpress and everything seemed good, the dashboard and teh home page all came up flawlessly.
but when i create a new post or a page and try to navigate to it through its permalink, the browser throws this 404 error:
The requested URL /new-post was not found on this server.
Apache/2.2.20 (Ubuntu) Server at websites Port 80
although the posts and page show up in the home page, but i can not open the individual posts or pages. whats going wrong?
for the apache confif, i followed this tutorial: