I'm clueless enough that I managed to delete my .htaccess file from my drupal site (after some mistaked advice from my webhost tech support). Now, I can go to the home page, but links to all internal pages result in 404 not found. I'm using drupal 5 and my web host is dreamhost. I don't have a recent backup of my site. I did find a very old htaccess file, and uploaded it, but then it threw a login pass popup.
Is there an easy way to fix this? Must I have the htaccess file? How can I generate a new one that will work with my site?
any help much appreciated.