Pete, Here are a few mod_rewrite examples that show how to redirect while maintaining URL parameters. Look specifically at the use of %{REQUEST_URI}
RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.getfoxyproxy\.org$ RewriteRule .? http://getfoxyproxy\.org*%{REQUST_URI}* [R=permanent,L] RewriteCond %{HTTPS} off RewriteRule proxyservice/(.*)$ https://%{HTTP_HOST}*%{REQUEST_URI}*[R=permanent,L] RewriteCond %{HTTPS} off RewriteRule feedback/(.*)$ https://%{HTTP_HOST}*%{REQUEST_URI}*[R=permanent,L] On Fri, Oct 1, 2010 at 12:21 PM, Pete Collins <p...@mozdevgroup.com> wrote: > > > On 10/1/10 10:13 AM, David White wrote: > >> My ThunderBird addon, which invokes a php file on mozdev via a call to >> XmlHttpRequest still fails to work due to failure of request parameters to >> make it through the redirection. This doesn't happen if it invokes the >> .hph.html file directly versus the .php file. So it would appear that there >> may be an issue with XmlHttpRequest and redirection. A quick google >> indicates that various implementations of the function fare differently with >> redirects. I am not too sure what else I should try so that the .php file >> can be invoked directly - thereby causing no changes by my addon's users. >> Any tips? Thanks, David >> >> > If you can find any tips on redirect server config maybe I can try it ... > > --pete > > > > -- > Pete Collins - Founder, Mozdev Group Inc. > www.mozdevgroup.com > Mozilla Software Development Solutions > tel: 1-719-302-5811 > fax: 1-719-302-5813 > > _______________________________________________ > Project_owners mailing list > Project_owners@mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners >
_______________________________________________ Project_owners mailing list Project_owners@mozdev.org https://www.mozdev.org/mailman/listinfo/project_owners