XAMPP not work properly in Ubuntu

I am using Ubuntu 10.10 in my PC. After installing “XAMPP” software successfully I put my software's source file to 'htdocs' folder but when I try to run the source file using browser the software cannot run, but in windows I can use it easily.

How I can solve this problem?
