tonelm54
asked on
redirect everything
I used to use Apache with .htaccess, however now trying to get it to work with IIS using web.config.
What Im trying to do is redirect everything apart from images and files in /handler/ to index.php as a GET statment (eg http://mysite.com/home/Level1 will get translated to http://mysite.com/index.php?P1=Home&P2=Level2) however the ajax statments will still be able to call files in the /handler/ folder and images will still be able to be downloaded.
I havnt even got a clue if this is even possible in a web.config file, can anyone point me in the right direction?
Thank you
What Im trying to do is redirect everything apart from images and files in /handler/ to index.php as a GET statment (eg http://mysite.com/home/Level1 will get translated to http://mysite.com/index.php?P1=Home&P2=Level2) however the ajax statments will still be able to call files in the /handler/ folder and images will still be able to be downloaded.
I havnt even got a clue if this is even possible in a web.config file, can anyone point me in the right direction?
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.