The .htaccess file works with HostGator because the page was working all day rediecting all html requests fine to the counter.py script. Only when i tried to post data to the text area boxes this problem made its appearance.