Forum Moderators: phranque
RewriteEngine on
RewriteCond %{QUERY_STRING} transformation
RewriteRule (.*) [new-machine:8080...] [R=Permanent]
Now this works if I make a request from the htdocs dir eg
[old-machine...]
BUT when I try a request from the cgi bin, nothing happens
eg.
[new-machine...]
Any idea why this doesnt work for the cgi-bin?
Any help would be greatly appreciated.
Thank you
If it is actually elsewhere in the filesystem, and is simply Aliased (see mod_alias) or ScriptAliased to appear to be in your directory structure, then your .htaccess won't necessarily apply when it's requested via HTTP.
Jim