updating server.pl to work with / instead of index.pwp