Chech the following
1) If you have used a wordpress inside a folder then you have to append it to your set $basepath "/var/www";
2) Post your error log.