url forwarding

New to mod_rewrite? This is a good place to start.

url forwarding

Postby 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?
dave
 

Postby bradrob » Fri Jan 09, 2004 4:07 am

Hi Dave

Did you manage to get the pieve of code that could help you out with this problem if so could you please forward it onto me.

Thanks
Brad
bradrob
 


Return to Beginner's Corner

Who is online

Users browsing this forum: Majestic-12 [Bot] and 23 guests

cron