Hello there, my I have problem with .htaccess and I hope I am in the rigth place to post about it.
I have moved my site to a new server and I need all the external links pointing to a cgi file on my old server to be redirected to my new server (i still have some files on the old server so I can't do a general redirect yet)...
In other words I need everybody going to:
OLDserver.com/cgi-bin/myfolder/myfile.cgi
to be re-directed automatically to:
NEWserver.com/cgi-bin/mmyfolder/yfile.cgi
I know how to do this with .htaccess on any file but this seems NOT to work for files within the Cgi-Bin folder.
I have tried entering the .htaccess redirect line in a .htaccess file inside the main root of the website, in the cgi-bin root folder and even in the "myfolder" (my subfolder in the cgi-bin directory).
Can somebody tell me how to do this right?
Thank you very much!