Subject: Re: using apache redirection to have a test/production site - msg#00059
List: web.selenium.user
CP Hennessy wrote:
I've been trying to using apache redirection so that
http://myhost/selenium-test-site points either at my development site or my
production site. The apache rules simply redirects the URL to the appropriate
port on the same machine.
The selenium tests works when I use Konqueror but not when I use Firefox ( I
get the error "Permission denied to set property: Window.alert" ). I am
guessing that this is an over-zealous cross-site scripting security check.
I'd like to be able to test with FireFox to ensure browser compatability.
Is "the development site" the same server that serves your Selenium
installation? If not, I suspect the redirect to a different site is
triggering XSS restrictions in FireFox (Konqueror might not be quite as
thorough).
Perhaps it might help to set up Apache (or something else) as a true
proxy, rather than just redirecting?
--
cheers, MikeW
http://www.dogbiscuit.org/mdub/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
using apache redirection to have a test/production site
Hi,
I've been trying to using apache redirection so that
http://myhost/selenium-test-site points either at my development site or my
production site. The apache rules simply redirects the URL to the appropriate
port on the same machine.
The selenium tests works when I use Konqueror but not when I use Firefox ( I
get the error "Permission denied to set property: Window.alert" ). I am
guessing that this is an over-zealous cross-site scripting security check.
I'd like to be able to test with FireFox to ensure browser compatability.
I've looked but cannot find a way around this problem.
Thanks for any of ideas,
CPH
Next Message by Date:
click to view message preview
Re: using apache redirection to have a test/production site
On Wednesday 25 May 2005 12:32, Mike Williams wrote:
> CP Hennessy wrote:
> > I've been trying to using apache redirection so that
> > http://myhost/selenium-test-site points either at my development site or
> > my production site. The apache rules simply redirects the URL to the
> > appropriate port on the same machine.
> >
> > The selenium tests works when I use Konqueror but not when I use Firefox
> > ( I get the error "Permission denied to set property: Window.alert" ). I
> > am guessing that this is an over-zealous cross-site scripting security
> > check. I'd like to be able to test with FireFox to ensure browser
> > compatability.
>
> Is "the development site" the same server that serves your Selenium
> installation? If not, I suspect the redirect to a different site is
> triggering XSS restrictions in FireFox (Konqueror might not be quite as
> thorough).
It is on the same server - but a different port.
> Perhaps it might help to set up Apache (or something else) as a true
> proxy, rather than just redirecting?
I tried that but was having different problems ( it's Zope which sits behind
the apache server and adds other rewriting complexities :(
CPH
Previous Message by Thread:
click to view message preview
using apache redirection to have a test/production site
Hi,
I've been trying to using apache redirection so that
http://myhost/selenium-test-site points either at my development site or my
production site. The apache rules simply redirects the URL to the appropriate
port on the same machine.
The selenium tests works when I use Konqueror but not when I use Firefox ( I
get the error "Permission denied to set property: Window.alert" ). I am
guessing that this is an over-zealous cross-site scripting security check.
I'd like to be able to test with FireFox to ensure browser compatability.
I've looked but cannot find a way around this problem.
Thanks for any of ideas,
CPH
Next Message by Thread:
click to view message preview
Re: using apache redirection to have a test/production site
On Wednesday 25 May 2005 12:32, Mike Williams wrote:
> CP Hennessy wrote:
> > I've been trying to using apache redirection so that
> > http://myhost/selenium-test-site points either at my development site or
> > my production site. The apache rules simply redirects the URL to the
> > appropriate port on the same machine.
> >
> > The selenium tests works when I use Konqueror but not when I use Firefox
> > ( I get the error "Permission denied to set property: Window.alert" ). I
> > am guessing that this is an over-zealous cross-site scripting security
> > check. I'd like to be able to test with FireFox to ensure browser
> > compatability.
>
> Is "the development site" the same server that serves your Selenium
> installation? If not, I suspect the redirect to a different site is
> triggering XSS restrictions in FireFox (Konqueror might not be quite as
> thorough).
It is on the same server - but a different port.
> Perhaps it might help to set up Apache (or something else) as a true
> proxy, rather than just redirecting?
I tried that but was having different problems ( it's Zope which sits behind
the apache server and adds other rewriting complexities :(
CPH