by dave » Sat Sep 06, 2003 8:08 pm
hello, i have a php script which is sadly screwed up, i hardcoded a lot of directories in diffrent ways so find and replace commands can not help me. due to i have turned to mod_rewrite to fix my problem. i need the code for a .htaccess file that redirects all access to a folder named /foo which is on the web respactivley at foobar.com/foo. any way, all access to files within /foo must be told to look for the same file in /bar... how can i do this using as few rules as possible?