Using Mozilla with Zope
Hi, I am trying to switch to Mozilla due to IE6 being extremely buggy, especially when working through proxy servers. We are currently developing a Zope/Plone application which uses standard Zope authentication using an acl_users folder. To test this application I need to open a browser window onto it, loged-in as a user, however at the same time I also need to have another browser window open onto the ZMI logged in as a manager user so that I can edit the Scripts/ZPTs. Doing this in IE6 is simply a matter of starting up 2 intances of it (ie. Not clicking File->New->Window to open the 2nd window). This seems to keep the authentication info. seperate. I realise that this is a bit off-topic as it is more of a general web-browser question but I was hoping that some Zope users have had some experience using Mozilla during application development. Thanks Tim Edwards Trainee Analyst Programmer Henry Walker Eltin Phone: 02 9887 6327 Fax: 02 9887 2412 Email: tim.edwards@hwe.com.au
Tim Edwards wrote:
Hi,
I am trying to switch to Mozilla due to IE6 being extremely buggy, especially when working through proxy servers. We are currently developing a Zope/Plone application which uses standard Zope authentication using an acl_users folder. To test this application I need to open a browser window onto it, loged-in as a user, however at the same time I also need to have another browser window open onto the ZMI logged in as a manager user so that I can edit the Scripts/ZPTs.
Doing this in IE6 is simply a matter of starting up 2 intances of it (ie. Not clicking File->New->Window to open the 2nd window). This seems to keep the authentication info. seperate.
AFAIK Mozilla authenticates browser-wide. Personally, I use Mozilla for authenticated 'work' in Zope and IE for unauthenticated 'viewing' as it's what most people use and anything we make will have to view/behave well in IE. Two browsers rather than two instances of a single browser. Works for me. best -- Mark Barratt Text Matters Information design: we help explain things using language | design | systems | process improvement ______________________________________________________ phone +44 (0)118 986 8313 email markb@textmatters.com web http://www.textmatters.com
On Tuesday 27 January 2004 06:06 pm, Tim Edwards wrote:
We are currently developing a Zope/Plone application which uses standard Zope authentication using an acl_users folder. To test this application I need to open a browser window onto it, loged-in as a user, however at the same time I also need to have another browser window open onto the ZMI logged in as a manager user so that I can edit the Scripts/ZPTs.
I use Debian Linux and KDE, so this may not be directly applicable to you, but . . . I have used Konqueror + Mozilla, Galeon + Mozilla, and Konqueror + Galeon to do this. I've also tried running Mozilla on two different accounts or two different computers. That is to say, working from a laptop, I start one Galeon or Mozilla locally on my laptop, and start one on my desktop via ssh -X from the laptop. I think you can also do this on one computer by using two different users, but I'm not sure how you get both to be able to use the X server (probably a lot like the ssh -X case, though). Then again, Mozilla has an "Identities" feature (sort of like usernames within the program). Can you not just launch Mozilla with Identity "A" and then another with Identity "B"? That seems like that ought to work. Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
Sorry to reply to myself, but I had to check it ... On Tuesday 27 January 2004 07:32 pm, Terry Hancock wrote:
Then again, Mozilla has an "Identities" feature (sort of like usernames within the program). Can you not just launch Mozilla with Identity "A" and then another with Identity "B"? That seems like that ought to work.
They're called "Profiles" and yes, it does work. I set up an identity called "test", then started one Mozilla for me: % mozilla -P terry (then logged in with privileges to my local Zope server) And then started another % mozilla -P test This gives the usual "not logged in" challenge. I tried a typical modify- and-view cycle, just to check that everything works as expected and they don't interfere with each other or anything. Works perfectly. I assume this feature is available on Windows, though you might have to invoke it differently. Do whatever the equivalent of "man mozilla" is and find out, I suppose. Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
Tim Edwards wrote:
I am trying to switch to Mozilla due to IE6 being extremely buggy, especially when working through proxy servers. We are currently developing a Zope/Plone application which uses standard Zope authentication using an acl_users folder. To test this application I need to open a browser window onto it, loged-in as a user, however at the same time I also need to have another browser window open onto the ZMI logged in as a manager user so that I can edit the Scripts/ZPTs.
Doing this in IE6 is simply a matter of starting up 2 intances of it (ie. Not clicking File->New->Window to open the 2nd window). This seems to keep the authentication info. seperate.
I realise that this is a bit off-topic as it is more of a general web-browser question but I was hoping that some Zope users have had some experience using Mozilla during application development.
I usually use a Mozilla instance and a Mozilla Firebird instance (or sometimes even throw Konquerer in on the ZMI task). Mozilla can have two instances going at the same time if you have two different profiles: see the Profile Manager. You can either always start Mozilla that way, or (I think) it'll give you a choice when you try to start a second time. I recall that the Windows installer makes an icon for the Profile Manager. On the command line you can just throw a '-ProfileManager' flag on. I don't know if Mozilla's issues with multiple instances for the same profile are intrinsic or a feature. --jcc -- "Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design." (http://www.devx.com/java/editorial/15511)
participants (4)
-
J Cameron Cooper -
Mark Barratt -
Terry Hancock -
Tim Edwards